Due to the current Covid-19 situation I'm stuck in lockdown. The following is an attempt to write some games something I have never tried before. The games are all written in Python using only using the standard library. The code here is very quick and dirty there is a lot of duplication and inelegant code and there are no tests. The only thing I am doing is using black for formatting since vim does that for me. This is intentional I wanted to focus on writing the games and not picking frameworks, writing tests and general code quality.
A simple 2 player version of the classic game Naughts and Crosses.
python3 o_and_x/main.py
A 0, 1 or 2 player version of Rock, Paper, Scissors, with the option to play against another human, the AI or watch 2 AIs battle it out.
python3 rps/main.py
Just a quick implementation of the classic word guessing game.
python3 hangman/main.py
A text only implemntation of the classic mine hunting game.
python3 minesweeper/main.py
Swap ducks until they are all in a row.
python3 ducks_in_a_row/main.py
Basic version of the Towers of Hanoi puzzle.
python3 tower/main.py