Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 571 Bytes

File metadata and controls

15 lines (11 loc) · 571 Bytes

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