Skip to content

stewythe1st/sir-checkmatesalot

Repository files navigation

Chess C++ Client

This is the root of you AI. Stay out of the joueur/ folder, it does most of the heavy lifting to play on our game servers. Your AI, and the game objects it manipulates are all in games/chess/, with your very own AI living in games/chess/ai.h and games/chess/ai.cpp files for you to make smarter.

How to Run

This client has been tested and confirmed to work on the Campus rc##xcs213 Linux machines, but it can work on your own Windows/Linux/Mac machines if you desire.

Also make sure NOT to try to compile this in your Missouri S&T S-Drive. This is not a fault with the client, but rather the school's S-Drive implimentation changing some file permissions during run time. We cannot control this. Instead, we recommend cloning your repo outside the S-Drive and use an SCP program like WinSCP to edit the files in Windows using whatever IDE you want if you want to code in Windows, but compile in Linux.

Linux

make
./testRun MyOwnGameSession

If you are on your own machine, make sure you've installed boost. The libboost-all-dev package should be up to date. You'll also need the cmake package for make to work.

Windows

For Windows, Boost has a simple way to compile from source using bootstrap. You'll need to do that. This client does work with VC++, you can create a solution at the root or ask a dev for the sln file. Just add the directory you built Boost in the Project's linker configuration. You'll also need to use the following command line arguments:

Chess -s r99acm.device.mst.edu

Other notes

The initial make step may take upwards of 2 minutes. You should see a percent progress updating on your screen, but it will be slow. Subsequent makes should be only a few seconds if you don't make clean.

About

A chess-playing AI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages