November 10th, 2001
Processing.py Python Games
David: Is this a game or is it real? Joshua/WOPR: WHAT'S THE DIFFERENCE? David: Oh, wow.— WarGames, 1983
After I had finally learned about functions in late 2017/early 2018, I decided to make an arcade game taking place in the Star Wars universe (because of Episode VIII's release at the time).
The game takes the form of a shooter. Taking place just prior to the events of The Empire Strikes Back, the Millennium Falcon must destroy the incoming TIE fighters as they attempt to penetrate the shield surrounding the Rebel base on Hoth.
Unlike my prior games, Defenders of Hoth stores high scores in a file, allowing them to be conserved between play sessions instead of resetting each time. I made use of the Pickle Python library to make modifying the storage file more difficult than just changing a number as it converts the data into a byte stream.
Feel free to check out the GitHub repository to see the code and download the game if you want to try it out for yourself:
Go to GitHub Page
No Events Scheduled