Mikey of Legend

Week 9: Randomness, Risk, and Probability

Learning objectives: Design randomized systems using explicit probability models, and avoid common feel-bad randomness failures.

Estimated time: 6-8 hours

Signed in as loading...

Checking purchase access...

Introduction

Design randomness with expected value math and mitigation so outcomes stay exciting without feeling unfair.

Lesson breakdown

  • Lesson 1: Probability Fundamentals - Use weighted distributions and expected value calculations to ground loot, encounter, or reward randomness.
  • Lesson 2: Risk Reward and Fairness - Decide where players opt into variance and where mitigation is required for high-stakes outcomes.
  • Lesson 3: Tunable Random Systems in Godot - Implement exported weights plus pity or bad-luck protection for fast balancing and better perceived fairness.
  • Lesson 4: Integration and testing pass for this week scope.
  • Lesson 5: Final polish and handoff notes for next week.

Try this now

  • Complete one focused implementation pass before watching the next segment.
  • Capture a before and after snapshot for the system you changed.
  • Write one short note on what to tune in your next iteration.

How this week works

Design randomness with expected value math and mitigation so outcomes stay exciting without feeling unfair.

Video segment plan

Work in short focused segments, then pause to apply each concept directly in your project, spreadsheet, or design document.

Worksheet and evidence capture

Record diagrams, tuning notes, and before-after decisions as you go so each week produces usable implementation evidence.

Interactive lesson parts (6-10 min each)

Part 1: Probability Fundamentals

Watch Build Check
7 min Part video
Video part 1: Probability Fundamentals

Keep this segment short and complete the practice action before continuing.

Use weighted distributions and expected value calculations to ground loot, encounter, or reward randomness.

Part 2: Risk Reward and Fairness

Watch Build Check
8 min Part video
Video part 2: Risk Reward and Fairness

Apply the method in your build or design artifact and capture what changed.

Decide where players opt into variance and where mitigation is required for high-stakes outcomes.

Part 3: Tunable Random Systems in Godot

Watch Build Check
9 min Part video
Video part 3: Tunable Random Systems in Godot

Finish with validation and a concrete next-step decision.

Implement exported weights plus pity or bad-luck protection for fast balancing and better perceived fairness.

Hands-on milestone

  • Document one full probability model with expected value.
  • Implement at least one bad-luck mitigation method.
  • Playtest streak behavior with and without mitigation enabled.

Code checkpoint

Use this short checkpoint marker when your weekly implementation pass is complete.

Practice snippet GDScript
# Step checkpoint for Week 9: Randomness, Risk, and Probability
func _ready() -> void:
    print("Checkpoint complete for this week")