Hello,
I had to rewrite a quarter of my 630~ line PYTHON FILE. Because I deleted the repository (by accident)
I know it’s been a while, but I have been juggling Me GCSE re exam with this so it’s been really hard to work on it.
But I have made some major progress; I have finally been able to make a demo for you guys to be able to use. By putting pyscript into my HTML file I could run python code in the browser client-side. This has been very helpful as I have approximately 630 lines of python code, and I need to get a demo to ship this project, so if it wasn’t for pyscript, I would have had to rewrite the entire program in js.
A quick guide on how to use it:
- You are White, for now you cannot change color
-To select piece click on it, it’s square should go green, then to move it click on a possible move. (blue)
-It’s probably Has a few bugs, I have tried my best to remove them
Anyways other than that, I have the bot up and running, it doesn’t have all the factors I mentioned earlier but, it I have managed to include, Position, Mobility, and Material Gain and loss. So lets just say It could beat Martin on chess.com - It can’t checkmate ;)
Notes:
- I haven’t managed to include checkmate mechanic; too busy focusing on demo :(.
- so currently no way to win the game.
- needs bot upgrades more factors, more than one move depth
Also it might take a while to load. ~ 5 seconds
bye see you next time.
Log in to leave a comment