Skip to content

DoRmAmMu1997/Games

Repository files navigation

Games

Four desktop games written in Python. Each one runs from source and ships with a PyInstaller spec for building a single Windows .exe. Every game keeps its progress under %APPDATA% so saves survive moving the executable.

What's in this repository

Folder Game Engine
Python Sputnika Game/ Orbital Orchard — a Suika-style merge puzzle. Drop celestial bodies into a bubble, bounce and merge them up to a Quasar Crown. pygame
Python Solitaire Game/ Klondike Solitaire — the classic single-player card game with hints, auto-solve, undo, and a confetti win celebration. tkinter
Python Monopoly Game/ Monopoly — full standard rules, 1-4 humans + AI to fill out four players, thirteen themed boards, auctions, trading, and autosave + resume. pygame
Python Ludo Game/ Ludo — classic competitive Ludo for 4-6 total players, 1-6 humans, heuristic AI, and square/pentagonal/hexagonal boards. pygame

Click into a folder for the full per-game README with rules, controls, features and build notes.

Run from source

Each game has its own requirements.txt (Monopoly, Orbital Orchard and Ludo use pygame-ce; Solitaire uses only the standard library). Install the deps once and start playing:

cd "Python Ludo Game"              # or another game's folder
pip install -r requirements.txt
python main.py                     # python solitaire.py for the Solitaire game

Python 3.11 or newer is recommended for all four.

Build a standalone .exe

Every game ships with a PyInstaller spec, so packaging is a one-liner from inside the game's folder:

pip install pyinstaller
pyinstaller "<Game Name>.spec"

The finished .exe appears under dist\. The relevant spec files are:

  • Python Sputnika Game/Orbital Orchard Game.spec
  • Python Solitaire Game/Solitaire Game.spec
  • Python Monopoly Game/Monopoly Game.spec
  • Python Ludo Game/Ludo Game.spec

See each game's README for the exact filename and per-game notes.

Save data

Every game stores progress in its own per-user folder so nothing is lost when the .exe is moved or rebuilt:

  • %APPDATA%\Orbital Orchard\save_data.json — high score, games played, best tier.
  • %APPDATA%\Klondike Solitaire\solitaire_high_score.json — high score, lifetime wins / losses.
  • %APPDATA%\Monopoly\stats.json — lifetime games / wins.
  • %APPDATA%\Monopoly\savegame.json — one in-progress saved Monopoly game.
  • %APPDATA%\Ludo\stats.json — lifetime games, wins, player-count mix, average turns.
  • %APPDATA%\Ludo\savegame.json — one in-progress saved Ludo game.

Repository layout

Games/
├── README.md                    -- this file
├── .gitignore
├── Python Sputnika Game/        -- Orbital Orchard (pygame)
├── Python Solitaire Game/       -- Klondike Solitaire (tkinter)
├── Python Monopoly Game/        -- Monopoly (pygame)
└── Python Ludo Game/            -- Ludo (pygame)

Generated .exe files, save-data JSON, build/, dist/ and __pycache__/ directories are kept out of the repository by .gitignore — only the source ships here.

Notes

All visuals are drawn procedurally (no external image files required). Comments throughout the code are deliberately beginner-friendly: docstrings on every method, inline explanations on non-obvious logic, and tuning knobs grouped together at the top of each settings.py-style file.

The games were written collaboratively with Claude Code (Anthropic) and Codex (OpenAI); the original Codex output supplied the playable base, and later passes added per-user save persistence, crash-safe atomic writes, gameplay and graphics improvements, Monopoly, Ludo, and the EXE-build workflow.

About

Three desktop Python games - Orbital Orchard (a pygame merge puzzle), Klondike Solitaire (a tkinter card game) and Monopoly and Ludo on pygame.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages