Chess Engine
- 7 Devlogs
- 38 Total hours
A chess engine with a bunch of chess variants
A chess engine with a bunch of chess variants
i wanna have the time logged for shipping but basically all i did was change some file formats for web assembly and turned down the resolution so that it would automatically scale so that it’s playable.
I’m currently in the process of converting the game from pygame to c++ raylib since i know c++ already and c++ is better for WASM thats about ittttttttt
I fixed preformance :D heres how:
FPS my machine 30-40 -> 200+
FPS itch.io 10 -> 45
we still have a ways to go to get a fully smooth experience but 10 to 45 fps from the demo link is much much more playable and i thought i would get a devlog out.
next update ill continue to optimize and polish to get ready to ship!
things added in this update:
Issues:
I started to notice the rendering of my chess pieces moving were slightly lagging, after doing a performance test of my code using python’s profile tool i noticed that my logic for getting legal moves was called 160k+ times and my pieces were rendered 50k+ times. This made my chess engine run at 30-50 fps so i will have to fix the performance issues soon. Next update will prolly be addressing these issues and adding more UI changes
things added in this update:
i plan on actually making the itch.io page look good and actually add a readme to my github repo that looks good but i plan on doing that later.
next update i think will be gui changes then after that i will work on QOL changes then feature additions like variants
Fully functional game though and i did work on my laptop without wakatime so sad it wasnt tracked :c
I have created using pygame a chess engine complete with all of the rules of chess and is fully playable for local 1v1 with the features:
FUTURE IDEAS: