Welcome to the Viking Chess project! This repository contains an implementation of the Viking Chess game, a strategic and historical board game.
Viking Chess, also known as Hnefatafl, is a historical game that dates back to the Viking era. It is a game of strategy that involves two players, one controlling the defending king and his soldiers, and the other controlling the attacking forces. The objective is for the king to escape to a corner of the board while the attackers try to capture him.
- ⚔️ Implementation of Viking Chess game logic
- 🖥️ Interactive and user-friendly interface
- 📚 Historical background and rules included
- 👥 Single and multiplayer modes
To install and run this project, follow these steps:
-
Clone the repository:
git clone https://github.com/menashe12346/Viking_Chess.git cd Viking_Chess
-
Install dependencies:
pip install -r requirements.txt
To start the game, run the following command:
python main.py
Follow the on-screen instructions to play the game. Enjoy strategizing and experiencing this ancient Viking game!
- Defenders (King and his soldiers): The king must reach one of the corner squares to win.
- Attackers: Capture the king by surrounding him on four sides.
- The game is played on a 9x9, 11x11, or 13x13 board.
- The king starts at the center, with his soldiers around him.
- Attackers are placed around the edge of the board.
- Pieces move horizontally or vertically any number of squares.
- The king can move like any other piece.
- A piece is captured if it is surrounded on two opposite sides by enemy pieces.
- The king is captured if surrounded on all four sides.
For detailed rules and historical context, refer to this link.
Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or create a pull request. Please follow the contributing guidelines.