Posted May 27, 2024 by fwsuperhero
#ClojureDart #Clojure #Lisp #Unfinished
And then I decided to try rewriting it in ClojureDart and Flutter. I was surprised at how smoothly it went. I solved the state with a single atom. The basic problem was getting familiar with the widgets - it took me some time, but at the same time, widgets fundamentally simplified some things (player's movement of pieces).
On the other hand - to slow down the computer's moves, I will have to use async, which I would solve with a global ticker in something like tic-80 or Quill. The computer's moves and logic are the weakest part of the game. That's something I could still work on, and theoretically, it could then be quite playable.
If you have any questions / comments, let me know.