@ChShersh Am working on a similar problem but with cards, my current attempt:
type Answer = { id: AnswerId; content: string}
type SelectedElem = { answers: Answer list; selected: AnswerId}
type UnselectedElem = { answers: Answer list}
CodeSignal has the best IDE and the widest functional language support I've seen for a practising site. Common Lisp, Clojure, Elixir, OCaml, Haskell, you name it. Trying out F# with it now๐ฅน
Beautiful beautiful visualization and also helped my understanding of eigendecomposition. Interesting to see the points getting "attracted" to the central line
Not sure if I am doing this the right way...but with spork/netrepl and ev in Janet, I managed to "live code" the window rendered by jaylib. Enjoying the moment of enlightenment! Clojure sort of wrapped this for you and I never really knew how it worked.
I refactored state management using lessons learned from https://t.co/04Hkwd9e9r
Reducing a messy map of card states to a single symbol. Scoping flipping rules and animations to the card widget. This brings so much satisfaction!๐ฅน
#clojure#clojuredart#buildinginpublic
Finally (kinda) sorted out the messy state of flipped cards! A real-world tarot session: pick cards from the pile on a table -> form a tarot spread -> get a reading. I should make 3 pages corresponding to the 3 experiences...
#buildinpublic#clojuredart