Web based GUI for UCI chess engine: YouTube series
Moderators: hgm, Dann Corbit, Harvey Williamson
-
AdminX
- Posts: 6320
- Joined: Mon Mar 13, 2006 2:34 pm
- Location: Acworth, GA
Re: Web based GUI for UCI chess engine: YouTube series
This could develop into an interesting project for users of Chromebooks.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
__________________________________________________________________
Ted Summers
-
BrendanJNorman
- Posts: 2508
- Joined: Mon Feb 08, 2016 12:43 am
- Full name: Brendan J Norman
Re: Web based GUI for UCI chess engine: YouTube series
Mandarin Chinese, actually.maksimKorzh wrote: ↑Sat Oct 10, 2020 2:05 pmCool! What kind of language are you studying?BrendanJNorman wrote: ↑Sat Oct 10, 2020 1:30 pmWhat you are doing is great. Makes me want to study chess programming once my other study (language) goals are reached.maksimKorzh wrote: ↑Sat Oct 10, 2020 12:46 pm Hey what's up guys, Code Monkey King's here.
Many programmers creating websites to showcase their work but not many websites are actually allowing to play online vs a UCI chess engine written in C/C++
This is the exact entry point I'm starting my new work at, so the idea is very simple - create a web based GUI for my engine BBC, connect it to the engine and deploy at free hosting so people could play with my engine online.
Here's a quick demo of the bare minimum prototype I've made a couple of days ago.
https://www.youtube.com/watch?v=_0uKZbHWVKM
It's still pretty early development stage but it already allows to play vs UCI chess engine written in C completely in browser!
I'm going to live code the entire project on youtube and end the series with deploying the web app (most likely at pythonanywhere.com)
Toolchain:
- Python/Flask (minimalist web framework)
- python-chess (UCI wrapper)
- chessboardjs (board widget used on lichess.org)
- chessjs (helper library to handle game state in UI)
Some cool things about this idea:
1.Using pyinstaller one can convert web app to desktop app (single binary executable that starts HTTP server on local machine, so you can open browser an play chess!)
2. Using this technology it should be possible to create a GUI like Arena but completely in web interface!
I'm waiting for all interested to join my new dead simple tutorial series everyone can follow!
https://www.youtube.com/watch?v=_0uKZbH ... jiLhkQm0DB
P.S. I bought a new mic, so sound quality is much better now!
Thanks for your work.
-
maksimKorzh
- Posts: 771
- Joined: Sat Sep 08, 2018 5:37 pm
- Location: Ukraine
- Full name: Maksim Korzh
Re: Web based GUI for UCI chess engine: YouTube series
OMG! This is so cool! I'm practicing Chinese qigong for many years believe it or not!BrendanJNorman wrote: ↑Sun Oct 11, 2020 3:57 pmMandarin Chinese, actually.maksimKorzh wrote: ↑Sat Oct 10, 2020 2:05 pmCool! What kind of language are you studying?BrendanJNorman wrote: ↑Sat Oct 10, 2020 1:30 pmWhat you are doing is great. Makes me want to study chess programming once my other study (language) goals are reached.maksimKorzh wrote: ↑Sat Oct 10, 2020 12:46 pm Hey what's up guys, Code Monkey King's here.
Many programmers creating websites to showcase their work but not many websites are actually allowing to play online vs a UCI chess engine written in C/C++
This is the exact entry point I'm starting my new work at, so the idea is very simple - create a web based GUI for my engine BBC, connect it to the engine and deploy at free hosting so people could play with my engine online.
Here's a quick demo of the bare minimum prototype I've made a couple of days ago.
https://www.youtube.com/watch?v=_0uKZbHWVKM
It's still pretty early development stage but it already allows to play vs UCI chess engine written in C completely in browser!
I'm going to live code the entire project on youtube and end the series with deploying the web app (most likely at pythonanywhere.com)
Toolchain:
- Python/Flask (minimalist web framework)
- python-chess (UCI wrapper)
- chessboardjs (board widget used on lichess.org)
- chessjs (helper library to handle game state in UI)
Some cool things about this idea:
1.Using pyinstaller one can convert web app to desktop app (single binary executable that starts HTTP server on local machine, so you can open browser an play chess!)
2. Using this technology it should be possible to create a GUI like Arena but completely in web interface!
I'm waiting for all interested to join my new dead simple tutorial series everyone can follow!
https://www.youtube.com/watch?v=_0uKZbH ... jiLhkQm0DB
P.S. I bought a new mic, so sound quality is much better now!
Thanks for your work.![]()
Didactic chess engines:
https://www.chessprogramming.org/Maksim_Korzh
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ
https://www.chessprogramming.org/Maksim_Korzh
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ
-
maksimKorzh
- Posts: 771
- Joined: Sat Sep 08, 2018 5:37 pm
- Location: Ukraine
- Full name: Maksim Korzh
Re: Web based GUI for UCI chess engine: YouTube series
Sure. The idea is to use web interface which means whatever device having a web browser would be able to interact with an engine easily.
In case if it's running locally still one file executables encapsulating python and dependencies still might be beneficial.
Didactic chess engines:
https://www.chessprogramming.org/Maksim_Korzh
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ
https://www.chessprogramming.org/Maksim_Korzh
Chess programming YouTube channel:
https://www.youtube.com/channel/UCB9-pr ... KKqDgXhsMQ