Skip to content

Tokkiu/simple_chess

Repository files navigation

simple_chess

Build Status Code Health Coverage Status

A simple implementation for simple chess

Data Structure

Use 8*8 matrix to represent the state of the chessborad, e.g.,

[[ 1.  1.  0.  0. -1. -1. -1. -1.]
[ 1.  1.  1. -1.  1.  1. -1.  1.]
[-1. -1.  1. -1.  1.  1.  1. -1.]
[-1.  1. -1.  0.  1. -1.  1. -1.]
[-1.  1. -1.  1.  1.  0.  1. -1.]
[-1.  1. -1.  1. -1. -1. -1.  1.]
[ 0.  1. -1. -1.  1.  0.  0. -1.]
[ 1.  0.  1. -1.  1. -1.  1.  0.]]

The first hand is 1, and the second hand is -1, 0 is the positions haven't been placed.

Features

TODO

Install

Download the whold file and go into the simple_chess folder, then use following command in the terminal.

pip install simple_chess

Examples

TODO

Changelog

0.0.1

2021-01-01

  • init

Contributing

git clone git@github.com:tokkiu/simple_chess.git
cd simple_chess
virtualenv .
make

Releasing

git clone git@github.com:tokkiu/simple_chess.git
cd simple_chess
pip install wheel
python setup.py sdist bdist_wheel

Credits

Add your name and email, detail in: https://github.com/tokkiu/simple_chess/graphs/contributors

Bitdeli badge

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published