Skip to content

luisegarduno/EnigmaChess

Repository files navigation



EnigmaChess wakatime

Enigma Chess

EnigmaChess is a chess engine with clean & efficient code.

Prerequisites:

  • Recommended - Shell: Bash, OS: Ubuntu v20.04
  • Have the following packages installed: C++
    • $ sudo apt install build-essential

Instructions:

Option 1 (fastest)

  1. Run the included build ($ ./EnigmaEngine)

Option 2 (fresh build)

  1. In line 14 of main.cpp, replace true with false
  2. Compile the program ($ g++ *.cpp *.h -std=c++17 -o EnigmaEngine)
  3. Run the generated file ($ ./EnigmaEngine)




(at the moment): Program creates a board using a FEN string that is defined in main.cpp.

Each square is assigned a number between 0-63. Once the initial board is created, it prompts the user to enter S, and E afterwards.

  • S = Starting index location for the piece you would like to move.
  • E = End index location for where you would like to move the piece.

Example: [1] To move the white pawn from c2 to c3, then S=10, E=18. [2] To move the white pawn from g2 to g3, then S=14, E=22.

** Making a user input moves in this type of notation is very confusing. I also believe that the only pieces that can be moved at the moment are the pawns in the 2nd. Please note that both of these issues are something that i'm working on fixing. Once fixed, the program will be using the current standard for chess notation: algebraic notation.

About

EnigmaChess - Efficient chess engine written in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published