by tslocum · 2y ago · 0 comments
If you don't know how to play backgammon, check out this guide[0] and/or this video[1]. There is a lot of history[2] behind backgammon. bgammon.org is AGPL-licensed, the client[3] and server[4] source code is publicly available. The graphical client is powered by the excellent Ebitengine[5] game engine.
0. https://bgammon.org/blog/20240201-how-to-play-backgammon/
1. https://www.youtube.com/watch?v=KDvvKWi0ijs
2. https://bgammon.org/blog/20240115-history-of-backgammon/
3. https://code.rocket9labs.com/tslocum/boxcars
4. https://code.rocket9labs.com/tslocum/bgammon
5. https://ebitengine.orgAlso, if I click in the text input, a huge keyboard shows up even on desktop, obscuring much of the game. Why?
Thanks. The keyboard input should only show up if your browser is indicating there is a soft keyboard available for the device. On Android, the device keyboard doesn't work for some reason. It definitely shouldn't show up on desktop, though. I will look into this.
The desktop version[0] shouldn't have this issue, if you want to give that a try.
Out of curiosity, what do you think I should do? Keep in mind, not everyone feels the same about being "cajoled" into installing an open source application. But virtually everyone won't appreciate the UI hangs.
Moving those features a webworker so the UI stays responsive should be easy, however I'm not sure how synchronizing multiple webworkers to take advantage of multiple cores compares to synchronizing multiple threads in a native app.