Bare minimum Korean chess Janggi engine with GUI in vanilla JavaScript

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
maksimKorzh
Posts: 771
Joined: Sat Sep 08, 2018 5:37 pm
Location: Ukraine
Full name: Maksim Korzh

Bare minimum Korean chess Janggi engine with GUI in vanilla JavaScript

Post by maksimKorzh »

Hi guys, I've just implemented bare minimum Korean chess (Janggi) engine:

Play online (choose Janggi from drop down variants menu):
https://maksimkorzh.github.io/bmcp-variants/

Video intro (see timestamps to skip to the gist):


This was one of the most exciting projects I ever had.
Implementing Janggi rules is very challenging but also fun.
And one last thing - it's made in style of HGM's microMax/MaxQi -
a single function engine with 3 nested loops movegen.