Project

chess_game

0.0
No commit activity in last 3 years
No release in over 3 years
Contain libraries for setting up and playing games of chess, making and validating moves, and evaluating victory conditionspec.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
= 10.3.2
~> 3.1

Runtime

~> 0.7.3
 Project Readme

Command Line Chess

Play command line chess! Start the game by running "$ ruby lib/chess.rb" from the root directory.

You can save the game by typing "save" instead of a move.

You can load a game by typing "load" instead of a move.

Quit the game by typing "exit" or "quit".

Make moves by entering the two squares you want to move a piece from and to in the form '[file][rank] [file][rank]'. For example, to move a starting position pawn as the white palayer, type "D2 D3" or "d2 d3"

Castle by moving the King to its final position after castling.

Web App

This libray is used in the Web App https://github.com/Hawkeye000/sinatra-chess.

See this in use at http://hawkeye-chess.herokuapp.com/

Dependencies

See Gemfile.