This is a simple yet fun stick game where you start by choosing how many sticks to play with, with any number of sticks. You can play against the computer or a friend in a two-player mode. Players take turns removing a customizable number of sticks per turn. You cannot skip a turn or pick more sticks than allowed or available. The goal is to be the one who picks up the last stick, that’s how you win. To beat your opponent, you'll need to think ahead and make smart moves. The computer even uses a bit of strategy, so making calculations ahead helps to win>
We used the python proggraming language in order to make this project. we used the controls like if statments and while loops to make it better for turn based logic games and also to handle errors and to restart the game, and we used random to allow plays against the computer the stick game. Another use of this is no external libraries are needed, which keeps the game simple and easy to run in any Python environment.
To set up and run the project from this repository, first clone or download the repository to your local device. Navigate to the project folder using a terminal, and ensure that Python is installed on your system. Once everything is set up, you can run the game by executing the Python file.
- Different game modes. can be payed against computer r another player
- Option to play again
- interactive and instructive interface
- Error handling
- input validation, so player picks sticks from 1 to 10
- Biruk Tadiso - UGR/7153/17
- Mussie Fayisa - UGR/2447/17
- Dagem Workeneh - UGR/2758/17
- Melekte Ermias - UGR/8649/17
- Muaz Mohammed - UGR/5976/17