/Chess

Primary LanguagePython

Chess game

Given a start point and end point on the grid (8 * 8) and choose a specific piece in king, knight or bishop. This script is able to help you get the minimum move from start point to end point using the piece. If it can't reach the end point, it will say so.

Getting Started

This script is written in python3. As long as you have python3 on you computer, you can play with it freely.

Running the tests

There are basically two kinds of test:

  1. the author privided some test cases in the main class. It will assert if the results are not correct.
  2. You can also input your own test cases using the interactive command.

Execute the program

Just put the following command in command line. Then have fun!

python Chess.py

Authors

  • Zizhuo Ren