Terminal and GUI-based games ranging from classics to puzzles.
pip install -e ".[games,gui]" # pygame + tkinter for GUI games
| Script | Description | Run |
|---|---|---|
snake_game.py |
Snake Game (pygame GUI) | python snake_game.py |
blocks.py |
2048 sliding puzzle game | python blocks.py |
hangman.py |
Classic Hangman | python hangman.py |
tick_cross.py |
Tic Tac Toe (terminal) | python tick_cross.py |
tick_cross_gui.py |
Tic Tac Toe (Tkinter GUI) | python tick_cross_gui.py |
master_mid.py |
Mastermind code-breaking game | python master_mid.py |
rock_paper_scissors.py |
Rock Paper Scissors | python rock_paper_scissors.py |
snake_ladder.py |
Snake and Ladder (terminal) | python snake_ladder.py |
twenty_one.py |
Twenty-One card game | python twenty_one.py |
color_guessing.py |
Colour guessing game | python color_guessing.py |
colox.py |
Colour puzzle game | python colox.py |
number_guessing.py |
Number guessing game | python number_guessing.py |
number_details.py |
Number properties explorer | python number_details.py |
typing_speed.py |
Typing speed test | python typing_speed.py |
star.py |
Star pattern printer | python star.py |
dice.py |
Dice rolling simulator | python dice.py |