Merry Christmas! This has been one of the most requested features for me to add to the tutorial, so here goes. While it modifies the free tutorial code, the concepts here can also apply to the book. Saving and loading…
More experimenting with Scala.js
When I was younger, I remember spending way too much time with a puzzle much like this one. Mine was diamond shaped, and on the back there were triangles to create a 3D pyramid with the same shapes. It came…
How to Write a Text Adventure in Python
People new to programming often ask for suggestions of what projects they should work on and a common reply is, “Write a text adventure game!” I think there are even some popular tutorials floating around that assign this as homework…
How to Write a Text Adventure in Python Part 4: The Game Loop
This is an abbreviated version of the book Make Your Own Python Text Adventure. The end is near, we’re almost ready to play the game! We’ll finish this series by implementing the game loop and receiving input from the human…
How to Write a Text Adventure in Python Part 3: Player Action
This is an abbreviated version of the book Make Your Own Python Text Adventure. So far we’ve created a world and filled it with lots of interesting things. Now we’re going to create our player and provide ways for the…