Skip to content

SAChess - implementation of the Lichess API for GTA: San Andreas with ImGui.

License

Notifications You must be signed in to change notification settings

defaultzone/SAChess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAChess - implementation of the Lichess API for GTA: San Andreas with ImGui.

SAChess is a free and open source implementation of the Lichess API in Lua dialect - Clue. You can play it directly in the game with ImGui interface. It features board streaming, seek creating, draw handling, resigning or aborting games.

Note

You can play only rapid and classical games due lichess Board API limits.

SAChess is using some public assets for different purposes:

Thanks!

Compilation

SAChess is using Lua dialect called Clue: all files from src/ directory will be compiled to the one Lua script. You can use next command to compile all source code:

clue -t=luajit --base base/Release.lua src/

Compiled file will be in the root directory of the repository. It called as main.lua.

Installation

To inject Lua script in game proccess we using MoonLoader and it's default library. So, you can just put compiled file in moonloader/ directory and it will work (only if you have all libraries installed, there listed below).

Libraries that used in this project:

  • mimgui
  • effil
  • requests

You can install all of them here. Put each library in moonloader/lib/ directory.

After you finally installed all dependencies and script - type /sachess.open command (or press F2) to open board. You will be prompted to enter the Lichess API token in it.

License

SAChess is licensed under the terms of the GNU General Public License v3.

About

SAChess - implementation of the Lichess API for GTA: San Andreas with ImGui.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages