A light-hearted detective experience built in Python.
This is a simple and fun text-based game written entirely in Python. You assume the role of a detective, collect clues, make your accusations, and see if you can pick the right suspect.
- Console/terminal gameplay — no heavy graphics or dependencies.
- Branching logic: your choices influence who the real suspect is (or who you accuse).
- Clearly structured Python code — great for beginners to read, learn and modify.
- Built to be extended: you can add more suspects, clues, or branching paths easily.
- Python 3.x installed on your system
- Basic familiarity with running a
.pyscript from terminal/cmd
-
Clone or download this repository:
git clone https://github.com/youngcoder45/Suspect-Game-In-Py.git``` -
Navigate into the project directory:
cd Suspect-Game-In-Py -
Run the game script:
python SUSPECT.py
-
Follow on-screen prompts to collect clues and make your accusation!
- A fun project to send to friends for a quick play-through.
- A compact codebase for studying basic game logic in Python (conditionals, loops, user input).
- A solid starting point for you (Aditya, our coder & space-lover) to build more elaborate games — maybe even space-themed next time!
- Fork this repository.
- Create a new branch:
git checkout -b my-extension. - Make your changes: add suspects, clues, new branching paths, maybe a GUI!
- Commit your changes:
git commit -m "Add new suspect and clue branch". - Push and open a pull-request.
MIT License. Feel free to use, modify, and share freely.
Thanks for checking out this little detective game. I hope it sparks ideas for your next fun project. Happy coding and happy clue-hunting!