Git Product home page Git Product logo

18xx-routes-web's Introduction

18xx Route Finder

A webapp for finding the optimal set of routes for each railroad in 18xx games. The intention is for users to reflect the state of their game in the app, then run it to confirm they're running the best routes. If you're not familiar with 18xx, the Wikipedia page is honestly a good primer.

The app is hosted on Heroku: https://routes18xx.herokuapp.com/

Screenshot of using 18xx Route Finder for 1846

This is the successor to my 1846 Route Finder (https://github.com/Auzzy/1846-routes-web). The backend was rewritten to support any 18xx game, instead of just 1846. Each game is defined by configuration files and optional hooks, making it fairly easy to add new titles. I'll probably need to add more features as I support more games, but Keith Thomasson's wonderful Rules Difference List helped me plan ahead, so future extensions should be fairly straight-forward.

Using it is pretty simple.

  1. Select your game

  2. Click on board spaces to select a tile and orientation. Only legal selections are displayed.

  3. Add railroads which have been floated, and indicate their trains and placed stations

  4. Indicate who owns which privates

    • Only privates whose ownership directly impacts route value are implemented
  5. Select a railroad from the Calculate menu, and once it's done calculating, the best route for each train will be displayed both in text and on the board.

    • Note it does some board validation ahead of time, but it leans towards permissiveness to allow you flexibility in how you enter your game. Once you click Calculate, it performs a full game validation, and will display any problems it finds.

Screenshot of using 18xx Route Finder for 1889

The game state you enter is saved in your browser, so you can easily come back to it later if you need to (e.g. playing asynchronously).

If you have any issues, you can either file a bug on the Issues page, or click the "Report Issue" button in the app. That button collects the game data you've entered and emails it to me directly.

The list of features in my queue and their status is also tracked on the Issues page. And feel free to add your own feature requests.

18xx-routes-web's People

Contributors

auzzy avatar dependabot[bot] avatar zwh2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.