Welcome to Command Line Casino, a terminal-based Python application that simulates a virtual casino experience. Users can create accounts, manage funds, and enjoy a variety of games—all from the command line.
Available Games
- Number Guess — Guess the number and win!
- Trivia Game — Test your general knowledge.
- Tic-Tac-Toe — Classic 3x3 strategy showdown.
- Coin Flip — Choose heads or tails, test your luck!
- Rock-Paper-Scissors
- Slot Machine
- Blackjack (coming soon!)
- Create, login, and delete accounts
- Check balances
- Add funds
- Reset password
- Python 3 — Core language used to build the app
- SQLite — Lightweight database for storing account info
- unittest & unittest.mock — Python testing frameworks for unit testing
- CSV — Used to read/write account data for lightweight persistence
- Custom Console Wrapper — For stylized colored input/output in the terminal
- OOP Design — Modular structure for accounts, games, and utilities
- GitHub Actions — Automates testing and workflows for CI/CD
- GitHub Projects (Kanban) — Organizes tasks and development roadmap using a Kanban board
# Clone the repository
git clone https://github.com/moffd234/Python-Casino.git
cd Python-Casino
# Set up a virtual environment (optional but recommended)
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt