Find Related products on Amazon

Shop on Amazon

Yahtzeeql – Yahtzee solver that's mostly SQL

Published on: 2025-07-01 05:51:26

Yahtzeeql - Yahtzee solver that's mostly SQL Setup python3 -m venv yahtzee-venv source yahtzee-venv/bin/activate pip install -r requirements.txt ./test.sh You should see outputs for each strategy, in ascending order by goodness Usage python3 yahtzee.py --strategy --runs [--interactive] [--show-plot] Where strategy is one of: random - just keep the dice you're given, and pick a random category - just keep the dice you're given, and pick a random category random_greedy - just keep the dice you're given, and pick the category that gives the highest score - just keep the dice you're given, and pick the category that gives the highest score all_yahtzee - Do everything possible to get a Yahtzee every turn - Do everything possible to get a Yahtzee every turn prob - Use probability tables to maximize the fraction of points you earn - Use probability tables to maximize the fraction of points you earn prob_with_difficulty - Use probability tables to maximize the frac ... Read full article.