Skip to content

menashe12346/Viking_Chess

Repository files navigation

🛡️ Viking Chess 🛡️

Welcome to the Viking Chess project! This repository contains an implementation of the Viking Chess game, a strategic and historical board game.

Table of Contents

Introduction

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.

Features

  • ⚔️ Implementation of Viking Chess game logic
  • 🖥️ Interactive and user-friendly interface
  • 📚 Historical background and rules included
  • 👥 Single and multiplayer modes

Installation

To install and run this project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/menashe12346/Viking_Chess.git
    cd Viking_Chess
  2. Install dependencies:

    pip install -r requirements.txt

Usage

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!

Rules

Objective

  • 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.

Setup

  • 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.

Movement

  • Pieces move horizontally or vertically any number of squares.
  • The king can move like any other piece.

Capturing

  • 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.

Contributing

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.

About

Viking chess game implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages