This repository contains two classic strategy games implemented in Python using the Tkinter library: Stick Matches and Timbiriche (Dots and Boxes). Each game includes interactive graphical interfaces and intelligent gameplay mechanics.
In this game, players take turns removing sticks from a pile. The goal is to avoid being the player who takes the last stick. The computer opponent plays strategically to challenge the player.
- Adjustable initial number of sticks.
- Configurable maximum number of sticks per turn.
- Interactive interface with clear turn-based gameplay.
- Strategic AI opponent.
A grid-based game where players take turns drawing lines between dots to form squares. Players score points by completing squares. The player with the most completed squares wins.
- Dynamic grid size starting from 5x5.
- Animated drawing of lines.
- AI opponent capable of strategic moves.
- Scoring system with color-coded squares.
-
Clone the repository:
git clone https://github.com/KPlanisphere/games-stick-matches-and-dots.git cd games-stick-matches-and-dots ```
-
Ensure Python 3.x is installed.
-
Install Tkinter (if not already available):
pip install tk
-
Run the desired game:
python palillos.py # For Stick Matches python timbiriche.py # For Timbiriche