<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Antonio Vazquez Araujo</title>
    <description>The latest articles on DEV Community by Antonio Vazquez Araujo (@antoniovazquezaraujo).</description>
    <link>https://dev.to/antoniovazquezaraujo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F274879%2Ffe799c8b-e382-4d08-8225-e347eecc9507.png</url>
      <title>DEV Community: Antonio Vazquez Araujo</title>
      <link>https://dev.to/antoniovazquezaraujo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/antoniovazquezaraujo"/>
    <language>en</language>
    <item>
      <title>LeTrain — a procedural train tycoon that lives in your terminal: infinite ASCII world, 100% keyboard, and the rail network is a plain-text file</title>
      <dc:creator>Antonio Vazquez Araujo</dc:creator>
      <pubDate>Mon, 19 Oct 2026 16:31:11 +0000</pubDate>
      <link>https://dev.to/antoniovazquezaraujo/letrain-a-procedural-train-tycoon-that-lives-in-your-terminal-infinite-ascii-world-100-3pb5</link>
      <guid>https://dev.to/antoniovazquezaraujo/letrain-a-procedural-train-tycoon-that-lives-in-your-terminal-infinite-ascii-world-100-3pb5</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw0b0d7ts44v0n64u3lxc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw0b0d7ts44v0n64u3lxc.png" alt=" " width="800" height="497"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Free &amp;amp; open source (Apache-2.0) train simulator that runs entirely in your terminal. Character-based world, no mouse, infinite procedural map. Your whole rail network saves as a small text recipe you can commit and share. sudo snap install letrain → letrain-terminal, or build from source with one Maven command.&lt;/p&gt;

&lt;p&gt;What it is&lt;/p&gt;

&lt;p&gt;LeTrain started as a tiny C++ ASCII experiment back in 2006 and has grown into a Java project (JDK 17+). The terminal client (LeTrain2D) is the classic soul of the game: a railway tycoon built out of letters, numbers and color — and it tries to be honest about what "terminal-native" means:&lt;/p&gt;

&lt;p&gt;Terminal-native — renders with Lanterna, no GUI, no browser, happy over SSH. Pure keyboard flow, zero mouse: arrow keys or vim keys (h j k l), mode-based UI (Rails / Add / Drive / Forks / Semaphores / Trains / Programming / Stations…).&lt;/p&gt;

&lt;p&gt;Infinite procedural world — lakes, forests and mountains from Perlin noise; every new game drops you at a random coordinate. Full day/night cycle with headlights after dark.&lt;/p&gt;

&lt;p&gt;Your network is text — scenarios (.ltr) export your entire network as a small text recipe. The same seed rebuilds the same world, so a scenario travels as a plain file: commit it, diff it, share it.&lt;/p&gt;

&lt;p&gt;Scripting + automation — a built-in DSL (ANTLR4) for itineraries, timetables and autopilot:&lt;/p&gt;

&lt;p&gt;create itinerary "a" {&lt;/p&gt;

&lt;p&gt;add station 1, arrival 9:30, departure 9:35&lt;/p&gt;

&lt;p&gt;add station 2, arrival 9:55, departure 9:50&lt;/p&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;assign itinerary "a" to train 1;&lt;/p&gt;

&lt;p&gt;train 1 set autopilot true;&lt;/p&gt;

&lt;p&gt;Honest trains — real blocks/cantons and semaphores: trains reserve track segments, brake before occupied blocks, and will absolutely crash if you get braking distance wrong. No toys that play by themselves.&lt;/p&gt;

&lt;p&gt;Economy — start at $0 (Zero-to-Hero) and haul GOLD / COAL / RUBY between producers and consumers; revenue scales with distance.&lt;/p&gt;

&lt;p&gt;Headless validator — letrain-check scenario.ltr checks scenario files and prints file:line:col diagnostics. CI-friendly.&lt;/p&gt;

&lt;p&gt;Console — :time set 9:30;, :undo; / :redo;, :save mynet — deterministic undo/redo for construction and state changes.&lt;/p&gt;

&lt;p&gt;(There's also a 3D client with the same world and seed if you ever want to see your ASCII empire in perspective — but the terminal is where it started, and in this project the 2D and 3D views are equals.)&lt;/p&gt;

&lt;p&gt;Try it&lt;/p&gt;

&lt;p&gt;Linux: sudo snap install letrain then run letrain-terminal (the snap also ships the 3D client as letrain).&lt;/p&gt;

&lt;p&gt;From source (JDK 17+ and Maven):&lt;/p&gt;

&lt;p&gt;git clone &lt;a href="https://github.com/antoniovazquezaraujo/LeTrain.git" rel="noopener noreferrer"&gt;https://github.com/antoniovazquezaraujo/LeTrain.git&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;cd LeTrain&lt;/p&gt;

&lt;p&gt;mvn clean package -DskipTests&lt;/p&gt;

&lt;p&gt;./output/LeTrain2D/bin/LeTrain2D&lt;/p&gt;

&lt;p&gt;Windows / other: grab the zip from Releases (&lt;a href="https://github.com/antoniovazquezaraujo/LeTrain/releases" rel="noopener noreferrer"&gt;https://github.com/antoniovazquezaraujo/LeTrain/releases&lt;/a&gt;) — the launchers are self-contained (runtime included).&lt;/p&gt;

&lt;p&gt;Links&lt;/p&gt;

&lt;p&gt;Source &amp;amp; screenshots: &lt;a href="https://github.com/antoniovazquezaraujo/LeTrain" rel="noopener noreferrer"&gt;https://github.com/antoniovazquezaraujo/LeTrain&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Manual (commands, editor, scenario guide): &lt;a href="https://antoniovazquezaraujo.github.io/LeTrain/" rel="noopener noreferrer"&gt;https://antoniovazquezaraujo.github.io/LeTrain/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Itch.io: &lt;a href="https://avaraujo.itch.io/letrain-procedural-tycoon" rel="noopener noreferrer"&gt;https://avaraujo.itch.io/letrain-procedural-tycoon&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Disclosure: I'm the developer. Bugs, UX complaints and wild ideas are all welcome — particularly from terminal people, since the TUI is the part I care most about.&lt;/p&gt;

</description>
      <category>java</category>
    </item>
  </channel>
</rss>
