Skip to content

Latest commit

 

History

History
95 lines (67 loc) · 1.91 KB

README.md

File metadata and controls

95 lines (67 loc) · 1.91 KB

10x12chess

A mailbox chess engine written in c

10x12chess preview

Description

a chess engine with the 10x12 board representation written in c with a raylib gui

Getting Started

Dependencies

  • Linux or Windows 10 (for now not tested)
  • gcc and cmake
  • raylib

compiling

  • for linux:

    open terminal in the project folder and type:

    mkdir build
    cd build
    cmake ..
    make
  • for windows: open terminal in the project folder and type:

    mkdir build
    cd build
    cmake ..

    (method i found, probably wrong)

    • open the project folder in visual studio
    • compile
  • for mac open terminal in the project folder and type:

    brew install gcc clang raylib
    mkdir build
    cd build
    cmake ..
    make
    • currently there are compiling problems, in scacchiera.c:230, but i guess you can just comment it out

Executing program

  • for linux:

    • got in the project folder
    • got in the /build folder
    • run ./10x12chess in the terminal or double click with the mouse
  • for windows:

    • executable is in /out/build/

    • create a folder

    • put the executable like this:

      (this is to put the image in the correct path ["../assets/Chess_Pieces_Sprite.png"])

          folder
          ├───assets
          │       Chess_Pieces_Sprite.png
          │
          └───bin
                  10x12chess.exe
      

    *now go to bin/ and run 10x12chess.exe

Help

sas

Authors

Fabio Murer

Version History

  • 0.0
    • work in progress

License

This project is licensed under the GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 License - see the LICENSE.md file for details