Live data from Hacker News

Squib: A Ruby DSL for prototyping card and board games

andymeneely.github.io

31–40 of 45 posts

Re: Squib: A Ruby DSL for prototyping card and board games

#32

Earlier quoted context omitted.

There's our project, Paperize: http://paperize.io (spoiler alert: we're still invite only/early access!) It's a web app, not a code library, but we're solving similar problems. We love Squib though, keep up the good work!

I'm really excited about Paperize. I can't wait to see more of what you're up to.

Yay! Let's be friends and unlock the magic of game design for everyone! (Serious comment)

Re: Squib: A Ruby DSL for prototyping card and board games

#34
post #9

Oh, I was hoping for a DSL for prototyping the rules to play these kind of games on a computer (and perhaps train a neural network as an AI opponent). I've been working out how to do these things recently.

It isn't a language but Tabletop Simulator [1] is basically the ultimate in simulating any board or card game.

1: http://store.steampowered.com/app/286160/

Re: Squib: A Ruby DSL for prototyping card and board games

#35
Relevant thing that was posted on HN last year: http://www.vassalengine.org/

I haven't had a chance to try it out but it looks great. Apparently it allows you to build board game mockups, and then play them locally or online. Useful for prototyping gameplay without having to print stuff, or alternatively you can also try games out before buying them.

Re: Squib: A Ruby DSL for prototyping card and board games

#36
post #34
post #9

Oh, I was hoping for a DSL for prototyping the rules to play these kind of games on a computer (and perhaps train a neural network as an AI opponent). I've been working out how to do these things recently.

It isn't a language but Tabletop Simulator [1] is basically the ultimate in simulating any board or card game. 1: http://store.steampowered.com/app/286160/

Correct me if I'm wrong, but isn't Tabletop Simulator only about physical simulation? VASSAL seems much closer to what parent is looking for (but there's still very little on the rules verification front there).

Re: Squib: A Ruby DSL for prototyping card and board games

#37
post #9

Oh, I was hoping for a DSL for prototyping the rules to play these kind of games on a computer (and perhaps train a neural network as an AI opponent). I've been working out how to do these things recently.

Yonatan Bergman gave a talk last year at GoGaRuCo about building a really rudimentary AI to test a board game prototype in ruby:

https://www.youtube.com/watch?v=EcnvbsXdbtI

Re: Squib: A Ruby DSL for prototyping card and board games

#38
post #36
post #34

Earlier quoted context omitted.

It isn't a language but Tabletop Simulator [1] is basically the ultimate in simulating any board or card game. 1: http://store.steampowered.com/app/286160/

Correct me if I'm wrong, but isn't Tabletop Simulator only about physical simulation? VASSAL seems much closer to what parent is looking for (but there's still very little on the rules verification front there).

I think you're right, Tabletop Simulator gives you an environment to do anything but doesn't help you define interactions and rules as far as I know.

Re: Squib: A Ruby DSL for prototyping card and board games

#40
post #9

Oh, I was hoping for a DSL for prototyping the rules to play these kind of games on a computer (and perhaps train a neural network as an AI opponent). I've been working out how to do these things recently.

I once wrote a multiplayer cardgame server (with a friend) that provided a Game API[0] to Lua scripts to define state and behavior. We scripted multiple card games popular in my country. For example Ace's Up[1].

We also wrote a few clients (ncurses, android, flash), most of them remained unfinished/unreleased, including the server, unfortunately. I meant to put it on GitHub but still hesitating since it would only be for educational purpose and no real interest in pursuing the project much further.

[0]: https://gist.github.com/rndstr/fd7c85d8ee7fad800000 [1]: https://gist.github.com/rndstr/fd7c85d8ee7fad800000#file-gam...

Post reply on HN