Skip to content

Updates from 1846 Routes Finder

Austin edited this page Aug 4, 2020 · 5 revisions

This app was forked from my previous (and very similar) project, the 1846 Route Finder. As I went, I made some changes, as well as fixed some long standing bugs. This lists the visible differences between the 1846 Route Finder and 18x Route Finder upon initial release.

Bugs

  • Tile images in the tile selection modal stay in the modal.
  • No longer raises BAD REQUEST after a long period of inactivity.
  • Report Issues button reliably sends the email.
  • Corrected corner case in the Mail Contract: https://github.com/Auzzy/18xx-routes/issues/32
  • At load, draw tiles and tokens only after all data has been loaded. This prevents the appearance of duplicate stations.
  • When the phase changes, redraw tokens, to ensure privates are displayed or hidden as appropriate.

Convenience

  • Tile selection modal sorts tiles first by upgrade level (i.e. yellow, green, etc), then by tile ID.
  • Import/Export modal is sorted in lexicographic order.
  • Collapse symmetric tile orientations.
    • For example tile 40 has only 2 distinct placements, despite 6 possible rotations. In the tile selection modal, these extra rotations are omitted. In the Import/Export modal, they're accepted but converted.
  • New validations
    • Tile counts
    • Home station slot is not obstructed
    • Reserved station slot is not obstructed UNLESS it's phase 4 or the railroad has been removed.

Technical

  • Better error handling
    • All AJAX calls will at least log to the console if they fail, and many display an error message in the app.
    • Useful 404 page
  • Re-normalize tile orientations according to Keith Thomasson's tile database.
    • That is, the orientation his database shows is what I consider the default orientation, then rotate 60 degrees for each new orientation.
    • This only matters if you wish to bring over your data from the 1846 Route Finder. In which case, I highly encourage you to use the Migrate link in the 1846 Route Finder.
  • localStorage data is stored with the game name as the key.
  • URL path are all prefixed with /game/ (e.g. /game/1846).
  • Moved the About modal contents to the new home page, and fleshed the text out some more.
Clone this wiki locally