gitwtfhub

wtf is yahtzee?

sebastiaanspeck/yahtzee — explained in plain English

Analysis updated 2026-07-18 · repo last pushed 2018-03-11

PythonAudience · generalComplexity · 2/5DormantSetup · easy

TL;DR

A Python implementation of the classic Yahtzee dice game that handles dice rolling, rerolls, and automatic scoring.

Mindmap

mindmap
  root((yahtzee))
    Inputs
      Dice rolls
      Player choices
      Reroll selections
    Outputs
      Scored combinations
      Round results
    Use Cases
      Play Yahtzee on your computer
      Learn Yahtzee scoring rules
      Study turn-based game logic
    Tech Stack
      Python

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Play a full game of Yahtzee on your computer without physical dice or a scorecard.

REASON 2

Learn or practice standard Yahtzee scoring rules through automatic score calculation.

REASON 3

Study the source code as an example of turn-based game logic and rule enforcement in Python.

What's in the stack?

Python

How it stacks up

sebastiaanspeck/yahtzee0xallam/my-recipe0xhassaan/nn-from-scratch
Stars0
LanguagePythonPythonPython
Last pushed2018-03-112022-11-22
MaintenanceDormantDormant
Setup difficultyeasymoderatemoderate
Complexity2/52/54/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

README doesn't specify the exact gameplay mode (solo, vs computer, or multiplayer), check the code directly.

License is not stated in the available content.

Yoink these prompts

Prompt 1
Walk me through how this Yahtzee implementation scores combinations like a full house or three of a kind.
Prompt 2
Show me how dice rerolling works in this project's game loop.
Prompt 3
Help me extend this Yahtzee game to support two players taking turns.
Prompt 4
Explain how this project's code is structured so I can add a new scoring category.

Frequently asked questions

wtf is yahtzee?

A Python implementation of the classic Yahtzee dice game that handles dice rolling, rerolls, and automatic scoring.

What language is yahtzee written in?

Mainly Python. The stack also includes Python.

Is yahtzee actively maintained?

Dormant — no commits in 2+ years (last push 2018-03-11).

What license does yahtzee use?

License is not stated in the available content.

How hard is yahtzee to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is yahtzee for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.