Skip to content

MARCIOHMB/PythonSticksGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Python Sticks Game

Overview

This is a simple console-based game where two players take turns removing sticks from a pile. The player who takes the last stick loses the game. Each player can take between 1 to 3 sticks at a time. There is an option to play against a computer and an option to play 2v2

How to Play

  1. Run the script.
  2. When prompted, enter 'yes' to play the game.
  3. Enter the number of players (1, 2, or 0 for 1 vs AI).
  4. Players take turns to remove 1 to 3 sticks from the pile.
  5. The player who takes the last stick loses the game.

Enjoy

Releases

No releases published

Packages

No packages published

Languages