upvote
Ah, I've made the same! I made a very flexible turn-based framework - write the game logic on server in javascript, then state+options are given to clients, so platforms (swiftui, web, unity, webxr etc) "just" have to implement UI on top (Also means I have a default/debug view, which works for all games). The games can run offline (via javascriptcore on ios, natively on web etc) and supports bots for all games (they randomly choose options on their turn) which has a very simple opening to get some reinforcement learning in.

Then specifically I was making an app which let me customise rules for poker - extra streets, antes, throwaway cards, passing cards, multiple boards, multiple decks, etc to support as many variants as possible, and ideally, stumble across new ones.

As an aside, I posted to reddit for research of other home variants people play (Basically to stumble across more fun variants in our home games) there's a few good alternatives I've not heard of in here!

https://www.reddit.com/r/poker/comments/1i91mnz/what_are_you...

I've run out of steam a little bit (burnt out & seeking work isn't great for own projects), but has been an excuse to learn swiftui. I'd be tempted to team up with people to keep the project alive...

reply