Giter VIP home page Giter VIP logo

chess's Introduction

===============================================================
Solidarity Bros. Chess Game
By Chris Wang, Dmitriy Chukhin, and Jim Ladd

Dec 28, 2013
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

***************
* How to Play *
***************

 To start a game, simply type:
 $ ./main.py

 Each player will be prompted for their move:

 White> 

 Moves consist of a four-letter sequence where
 the first pair of letters gives the coordinates of the
 piece to move (e.g. 'b1') and the second pair of letters
 gives the destination of the piece. (e.g. 'c3').
 To move the white player's knight on the first turn,
 you would type:

 White> b1c3

 After hitting enter, the game will show you the new state of 
 the board.

 The game operates using the normal rules of Chess;
 The white player always makes the first move in the
 game and only legal moves are allowed.

 To quit the game, type 'quit'.


***************
* How to Test *
***************

 To test the game, type:
 $ ./test.py

 You should see output similar to the following:

 Ran 30 tests in 0.005s
 
 OK

 (The number of tests may vary)


****************
* Requirements *
****************

 To run the tests (test.py), you must have
 the mock library installed:

 $ sudo pip install mock

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.