Skip to content

moffd234/Python-Casino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

616 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command Line Casino

Overview

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.


Features

Games

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!)

Account Management

  • Create, login, and delete accounts
  • Check balances
  • Add funds
  • Reset password

Technologies Used

  • 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

Installation

# 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages