Chess-engine

Rating: 
0
No votes yet

A fully compliant, playable chess engine written in Lua and rendered with the Love2D game framework forked from https://github.com/Azzla/chess-engine. Features a multi-threaded AI opponent with alpha-beta + quiescence search algorithms.

Completed Goals

  • Bug-free legal move generation: Passes all Perfts up to a depth of 5-ply from this testing suite.
  • Optimized move generation: Various speed increases have been achieved via table-lookups, init-time move info storage, array indexing over looping, removing table.insert, etc. More optimization is always possible but its good enough for the time being.
  • Playable AI opponent: Opponent can find good moves in most positions and generally avoids bad moves. I've noticed a bug where the search thread hangs and it never returns the best move, but it seems to occur rarely.

I'm not the original developer, I forked the project and did a few small tweaks like zoom out the screen and tweaking the screen resolution to make it fit on mobiles.

I may add some more mobile features in the future.

This is my second chess project forked, the other one can be found here: https://openrepos.net/content/glitchapp/love-chessboard

Difference between the two chess games:

Chess-engine:

- Features A.I. oponent (you can only play against cpu)

- Clock

- Smooth animations

love-chessboard:

- No A.I. opponent (you can only play against another human player)

- 4 sets available: "fritz", "sharm", "smirf" and "warlord"

- Portrait and landscape mode

Choose whatever chess you prefer and enjoy!

Screenshots: 

Category:

Keywords:

Application versions: 
AttachmentSizeDate
File chessengine-0.1-1.noarch.rpm2.14 MB29/09/2024 - 14:16
Changelog: 

First version, I just did a few small tweaks like zoom in the screen out and tweaking the screen resolution to make it fit on mobiles.

I may add some more mobile features in the future.