This game is a classic text adventure game: Oregon Trail.
Because this is written entirely in vanilla HTML/CSS/JS, you can simply download the project and open the index.html
file to run this game.
- 1) Get the tutorial working
- 2) Play the game
- 3) Check for errors.
- Check for any errors you might find
- Play test and make sure all of the features in the game are working.
- 4) Update the code to more modern and easier to understand syntax
- Replace var with let, and const wherever possible
- Object deconstruction
- 5) OOP - Define class Objects for Caravan, Event, Game, and UI
This was largely inspired from this tutorial and this starter project
The tutorial and starter project were filled with syntax issues and bugs. Solving them was part of the learning experience, analogous to inheriting an old code base.