uno c player vs computer game build with raylib using heuristic algorithm.
first of all git clone this repository. then you can compile and run with gcc. for shortcuts i made a Makefile:
| MAKE | commands |
|---|---|
make |
to build the project into binary file |
make run |
to build and run the binary file |
make single |
to run the binary file |
This project uses CMake.
- Creating build folder
- CD to build folder
- Run CMake
- Run Makefile
here a script to do so
mkdir -p build
cd build
cmake ..
makenow after building we have Uno-C binary file. so in linux do ./Uno-C
| UI | keys |
|---|---|
| f/f11: | Toggle FullScreen |
| MOVEMENT | keys |
|---|---|
| g: | 5 steps back |
| left/a/h: | step back |
| right/d/j: | step forward |
| k: | 5 steps forwards |
| 1-9: | moving in direction |
| -/+: | changing direction |
| GAMEPLAY | keys |
|---|---|
| m/b/c/down: | take card from bank |
| space/x/up: | pieck to put |
