Hacker News new | ask | show | jobs
by MartinCron 5640 days ago
I've been working on a board-game program lately and I've created a "referee" object that's responsible for enforcing rules, handling workflow, turn taking, etc. Works really well for me.