Case study
Rails: an OCaml reconstruction of Railroad Tycoon
Rails rebuilds the 1990 Railroad Tycoon game in OCaml, implementing railroad construction, train management, AI rivals and economy systems. It loads the user's original DOS PIC, PAN and DTA data files and uses SDL2 for its interface and presentation.
- Targets
- Game
- Category
- Independent reconstruction cases
- Relationship
- Independent reconstruction project
- Sources reviewed
- Evidence class
- C2 code & docs, no demo or download
- Stars
- 27
- Last commit
- 2026-11-07
- Language
- OCaml
- License (GitHub)
- MIT
GitHub data as of 2026-11-10
Evidence
- Observed
- Code, documentation and a download method observed; no demo found.
- Checked
- 2026-11-09
Requirements & limits
- Prerequisites: Requires the original Railroad Tycoon DOS PIC, PAN and DTA files.
- Prerequisites: Source builds require OCaml 5.x, opam, SDL2 and SDL2_mixer development libraries.
- Limits: Route history and further testing remain on the feature list.
- License: MIT license.
Cite
BibTeX
@misc{rails-railroad-tycoon-case,
title = {{Rails: an OCaml reconstruction of Railroad Tycoon}},
howpublished = {\url{https://github.com/bluddy/rails}},
url = {https://github.com/bluddy/rails},
urldate = {2026-11-06},
note = {Awesome REA entry: \url{https://awesomerea.org/resources/rails-railroad-tycoon-case/}}
}Plain text
Rails: an OCaml reconstruction of Railroad Tycoon. https://github.com/bluddy/rails (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/rails-railroad-tycoon-case/
Useful? Star Awesome REA on GitHub2.4k
About this entry
The description was reviewed against primary sources.
Primary sources
- README.md GitHub · bluddy/rails · Revision 3699efe
- docs/todo.md GitHub · bluddy/rails · Revision 3699efe
More in Games
- RappelzCore & RappelzRust: reconstructing a Rappelz NoLimits client and server · Case study
- raw(gl): Another World engine reimplementation · Case study
- rawpsx: an Another World engine reimplementation for PlayStation · Case study
- Re-Comprehend: rebuilding Penguin Software adventure engines · Case study
- re2ds: a native Nintendo DS engine for Resident Evil 2 · Case study
- rea-doom-term: a text-only reconstruction of DOOM · Case study