manual.md
# Gomoku Game
A fun and interactive Gomoku game developed using Python and Pygame.
## Quick Install
Before you can run the game, you need to install Python and Pygame. Here are the steps to do so:
1. Install Python: Download and install the latest version of Python from the official website: https://www.python.org/downloads/
2. Install Pygame: Once Python is installed, open your terminal or command prompt and type the following command to install Pygame:
```bash
pip install pygame
Gomoku, also known as Five in a Row, is a strategy board game. Two players alternate turns placing a piece of their color on an empty intersection. The winner is the first player to form an unbroken chain of five pieces horizontally, vertically, or diagonally.
This application is a digital version of the Gomoku game. It has a simple and user-friendly interface, and it allows two players to play the game on the same device.
- Run the game: Navigate to the directory where the game files are located and run the following command:
python main.py
-
The game board will appear on the screen. Player 1 starts the game by clicking on an empty spot on the board to place their piece.
-
Players take turns placing their pieces on the board. The goal is to be the first to form a line of five pieces horizontally, vertically, or diagonally.
-
The game ends when one player has formed a line of five pieces, or when all spots on the board have been filled and no player has won. The game will display a message indicating the winner or a draw.
-
To play again, simply close and rerun the game.
Enjoy the game!