What game was it playing ?

Blass Rose
link
fedilink
English
54M

Two-Dice Pig. So not a super complicated game, but still fun to try to leverage the… 3 point totals to calculate a risk vs desperation factor. Though looking at the code again, the hard limits feel weird. Like just straight up not allowing the risk of more than 35 points at a time (100 is a winning score, tho)? Though I do remember that I HAD to add the condition to force it to claim victory or it’d essentially get too cocky and would lose everything. I know that two-dice pig is essentially a solved game (as much as you can solve a game that relies on random chance), but I felt using a lookup table was boring, and wanted it to feel like it was actually an AI that could make mistakes, and had a semblance of a personality.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.5K Comments
  • Modlog