Skip to content

The Japanese Board game known as Hasami Shogi built in python and Pygame. Think checkers with rook chess pieces ♜

Notifications You must be signed in to change notification settings

steventran619/Hasami-Shogi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hasami Shogi is a Japanese board game similar to checkers. This version of the game follows "Variant 1" on the Wikipedia page and is intended to be played with two players. The game uses only one type of piece that can move horizontally or vertically, similar to a rook in chess ♜. The main object is to capture all but one of the opposing player's pieces (or men).

Prerequisites

Python 3.6 or later

Installation

  1. Clone the repo to a local directory
  2. In the local directory, open a terminal and install the requirements:
pip install -r requirements.txt
  1. In the terminal run the following:
python3 Main.py

How to Play

  1. Players alternate turns (Black starts first, then Red)
  2. Pieces can only move vertically or horizontally (similar to a Rook in Chess).
  3. Pieces are captured (either vertically or horziontally) when they are "sandwiched" by opposing pieces, only on their turn. Note: A player's piece will not be lost on their turn if their move sandwiches themselves between the opponents pieces. In other words, a player cannot purposely lose their piece.

Vertical Capture of 2 Red Pieces

Horizontal Capture of 4 Red Pieces
  1. A corner piece can be captured when trapped by the two adjacent squares.

Corner Capture of 1 Black Piece
  1. A player cannot have their own piece(s) captured during their own turn, in the event they sandwich themselves by the opposing player.
  2. A player wins when the opposing player has 1 or 0 remaining pieces in play.

About

The Japanese Board game known as Hasami Shogi built in python and Pygame. Think checkers with rook chess pieces ♜

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages