Adventure Game
Adventure Game#
Text adventure games, sometimes called interactive fiction, are an old genre
where the entire world is described with text. The gameplay is done through
simple commands like go north
or eat pie
.
Each area in the game, item, or action has its own description.
You can find a demo of a game like this on Replit, and the source code is on github. (Though the version we’ll be writing is much simpler to start.).
- Part 1: The game loop
- Part 2: Go places
- Part 3: Prettify
- Part 4: Examine items
- Part 5: Look around
- Part 6: Take things
- Part 7: Show inventory
- Part 8: Drop things
- Part 9: Refactoring
- Part 10: Buy things
- Part 11: Test things
- Part 12: Read things
- Part 13: Health
- Part 14: Dragons
- Part 15: Eat & Drink
- Graduation
- Reference