Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).


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.


As far as what you care about most games go, a chat room with the ability to send private messages to each other and a (human) game master is all you need to play almost any game online, if you don't care about automated rule verification.


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...


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


Just watched his talk, def worth a watch (Thx for the link).

The repo is below, he added disclaimers that it's rough code and was enough to help him make some useful decisions mainly around game length and balance as he developed his game.

https://github.com/yonbergman/missiles_and_microchips


Actually, sounds interesting. You could use it to discover flaws in the game play, given you can quantify 'bad / boring gameplay'.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: