Re:Squib: A Ruby DSL for prototyping card and board games
by andymeneely on Monday June 29, 2015 @09:45AM
(#9797986)
Ok, so this is something I also want to do someday. It's not what Squib is at all, but I feel like we need better tools board game simulation and machine learning. In particular, I'd like to simulate the game with very basic AI, then analyze the games to look for overpowered moves (e.g. if 75% of all winners used Black Lotus).
I'm trying to do this in an ad hoc way on my own games, but progress is slow :(
Re:Squib: A Ruby DSL for prototyping card and board games
by lfowles on Monday June 29, 2015 @11:06AM
(#9798526)
I'd recommend talking with the VASSAL people if you haven't already. I was looking into something similar (defining pieces and rules in a DSL that would spit out an engine suitable for AI) a few months ago when I was all motivation and no outlet.
I'm mostly interested in rules based systems and AI and my research was leaning towards creating a DSL for describing players' strategy. I started out doing it in Prolog as an internal DSL but switched to ANTLR and changed it to an external DSL. Ruby is a pretty great choice which I considered before moving to ANTLR.
Edit: As this is geared more towards creating physical prototypes you should post this on boardgamegeek if you haven't already.