Chess
A barebones version of command-line Chess for 2 players.
TODO:
- Alert Check/Mate
- Castling & En-Passant Moves
Gameplay
The game is played on a standard 8 by 8 board as show below.
A B C D E F G H
8
A user will first be prompted to select a chess piece belonging to his/her color. Once a the chess piece has been chosen, he/she will then be prompted to select a space to move that chess piece.
To enter a command, simply type in the X and Y coordinate without any spaces or commas seperating the two, for example:
- A2
- H7
(Lowercases are also accepted)
If a command is invalid, the use will be alerted and prompted again until a valid command is entered.
Installation
To install:
$ gem install chess_vwong
Usage
TODO: Write usage instructions here
Contributing
- Fork it ( https://github.com/[my-github-username]/chess_vwong/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request