Skip to content

BretteFitzgibbon/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What This Program Does:

— An object-oriented game of chess with inheritance, with a class for pieces in general, each type of piece, and the board. Has a total of 18 methods.


How to Build and Run:

In Replit:

  1. Create an account on replit.com if you don’t have one

  2. Click on the REPL link above

  3. Remix this app

  4. Click on >_Console tab

  5. Run

  6. To run tests, input y. To play the game, input n.

  7. Find a friend and try not to brag too much when you win.


In the Terminal:

Requires C++ 17

  1. Go to the above GitHub link, click on Code, and copy the URL from the HTTPS tab

  2. In the terminal: git clone

  3. If you don’t have command line tools installed:

xcode-select –install

  1. Click Install when the pop-up comes up

  2. Agree to the License Agreement

  3. Wait about 15 minutes for installation to complete

  4. In the terminal, navigate to the game’s directory:

cd Chess

  1. Compile:

clang++ -std=c++17 *.cpp -o Chess

  1. Run:

./Chess

  1. To run tests, input y. To play the game, input n.

  2. Find a partner and checkmate them.

Note:

— This was a homework assignment and the test suite was written by the professor.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published