Skip to content

Biruk-Tad/Stick-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Stick-Game

Overview

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>

used tools

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.

Inorder to set up and run the project

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.

Project's main features

  • 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

Group members

  1. Biruk Tadiso - UGR/7153/17
  2. Mussie Fayisa - UGR/2447/17
  3. Dagem Workeneh - UGR/2758/17
  4. Melekte Ermias - UGR/8649/17
  5. Muaz Mohammed - UGR/5976/17

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages