Throughout school I have made a fair few python games some finished others incomplete, on this page I will share a few of my games, and explain how they work. To run the code you will need python to be installed, you can download it from the Microsoft store or from here: https://www.python.org/downloads/ then to play just download the code and open it using python.

Pokémon Battle Simulator

This is Pokémon, it was set as an assignment  for me and I used the database I was given and added it to a table which sorted the type advantages. The code is interacted with through the terminal, as long as you follow the prompts given the code shouldn’t break, the code is also case sensitive so please be careful. If the code fails and an error occurs then please find a way to edit the code and check the directory, you may have to enter the full directory to the file Pokemon.db

 

3 Cup Monty

3 Cup monty is a game where you have to guess which cup is hiding the object, in this one you are trying to guess which cup the ‘X’ is under, please be mindfull and try not to enter any characters that won’t be needed in a response to one of the questions.

Battle Ships

Battle ships is a game where you guess where the opponents ships are and fire a missile at it, a ‘H’ will indicate a hit while an ‘X’ will show a miss, and lastly an ‘S’ will show a ship has been sunk. Please enter an appropriate answer to the prompts, remember that this was made with little knowledge about code so please be patient with the game.

Connect 3

A smaller version of connect four and still provides a challange, just enter the number of the slot you want to place your counter in, please be mindfull about what you enter and have fun.

Paper Scissors Rock

Paper scissors rock is as simple as it sound if you throw paper and the opponent throws rock you win but if they throw scissors you lose.

Stock Trader

Stock trader is a game where you buy and sell stocks, the price will change every hour randomly between 1 and 100. Try and achieve the highest score you possibly can.

Minesweeper

Minesweeper is an easy game to learn but hard to master. The goal is to find all the mines without setting one off. this game is made through java script so python isn’t needed, just open the file through your browser instead and enjoy.