Case Study.
mini games python
Python
overview.
this streamlit-powered project brings classic puzzles to life—solve mazes using dfs, bfs, a*, and more, or challenge your logic with the mastermind code-breaker game. designed for fun and learning, it visualizes algorithmic thinking and interactive decision-making in real time.
tech stack.
python | streamlit | numpy | matplotlib
key features.
multiple pathfinding algorithms: visualize dfs, bfs, dijkstra, and a* in real-time mazes.
interactive grid interface: click to set start, end, and walls before solving.
mastermind logic puzzle: guess the color code using logical deduction and feedback.
visual feedback: animations and color cues guide user understanding.
modular codebase: easy to extend with new algorithms or game rules.
streamlit ui: responsive layout with clear controls for gameplay and reset.
clone & run locally
git clone https://github.com/belohith/mini-games-python
cd mini-games-python
python -m venv venv
source venv/bin/activate # windows: venv\Scripts\activate
pip install -r requirements.txt
streamlit run Home.py # or replace with the appropriate file