Chess engine with GUI in under ~250 lines of JS code

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

Moderator: Ras

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

Chess engine with GUI in under ~250 lines of JS code

Post by maksimKorzh »

User avatar
towforce
Posts: 13403
Joined: Thu Mar 09, 2006 12:57 am
Location: Birmingham UK
Full name: Graham Laight

Re: Chess engine with GUI in under ~250 lines of JS code

Post by towforce »

Very good!

* can the pieces be clearer? Maybe loaded as images?

* I know the idea is to be a tiny program - but it would be lovely to have a way to save the game as a PGN
Human chess is partly about tactics and strategy, but mostly about memory
User avatar
maksimKorzh
Posts: 782
Joined: Sat Sep 08, 2018 5:37 pm
Location: Ukraine
Full name: Maksim Korzh

Re: Chess engine with GUI in under ~250 lines of JS code

Post by maksimKorzh »

Thank you, I think this is closer to what you are looking for:
https://github.com/maksimKorzh/wukongJS