https://github.com/marianhlavac/checkers
A basic checkers game in terminal -- seminar project for PA2 subject on FIT CTU written in C++
https://github.com/marianhlavac/checkers
coursework fit-ctu
Last synced: about 1 year ago
JSON representation
A basic checkers game in terminal -- seminar project for PA2 subject on FIT CTU written in C++
- Host: GitHub
- URL: https://github.com/marianhlavac/checkers
- Owner: marianhlavac
- Archived: true
- Created: 2015-04-08T12:30:03.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-02T14:20:56.000Z (about 11 years ago)
- Last Synced: 2025-04-06T06:38:55.547Z (about 1 year ago)
- Topics: coursework, fit-ctu
- Language: C++
- Homepage:
- Size: 274 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Checkers
Seminar project for PA2 subject on FIT CTU written in C++. Basic checkers game with single player vs AI, local and network multiplayer modes.
## Screenshot
[](http://goo.gl/HJJztm)
## Requirements
- g++ min. 4.6
- sys/socket.h lib
- netdb.h (definitions for network database operations ) lib
- doxygen (optional)
## How to install
Compile the project using **make** tool.
$ make
## How to run
If you want to play 1 vs 1 on local machine, it's the default mode, you can just
$ ./checkers
For singleplayer game with AI, type
$ ./checkers --versus-ai
For multiplayer game over network, hosting player will use
$ ./checkers --versus-network --host --port [port]
and client will connect with
$ ./checkers --versus-network --ip [ipaddress] --port [port]
Other options can be found in documentation. For example you can run the game with unicode renderer
$ ./checkers --versus-ai --unicode
## Documentation
Generate documentation with command
$ make doc
The documentation then can be find in doc/ directory.