Chess-engine

Rating: 
5
Your rating: None Average: 5 (1 vote)

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!

v0.2 adds:

- New set of pieces: "sharm"

- Normal maps and global illumination

This new version pushes the gpu and may not perform well on old devices, if you experience bad performance please use v0.1

 

Screenshots: 

Category:

Keywords:

Application versions: 
AttachmentSizeDate
File chessengine-0.1-1.noarch.rpm2.14 MB29/09/2024 - 14:16
File chessengine-0.2-1.noarch.rpm11.34 MB11/11/2024 - 18:23
Changelog: 

v0.2 adds:

- New set of pieces: "sharm"

- Normal maps and global illumination

This new version pushes the gpu and may not perform well on old devices, if you experience bad performance please use v0.1