← Back to all work
GitHubLearning and foundations

Logic Games and Simulations

Bash exercises in random events, game loops, arithmetic, and state transitions.

STATUSHistorical learning project; current execution not revalidated in this review.
FOCUSLearning and foundations
DIAGRAM SCOPEWorkflow overview

THE PROBLEM

What it sets out
to solve.

Build confidence with shell control flow and changing simulation state.

THE APPROACH

How it comes
together.

Separate scripts implement snakes-and-ladders, coin outcomes, a random-outcome simulation, and arithmetic exercises with their own loops and conditions.

UNDER THE HOOD

Follow the workflow.

Trace the components.
Select a node for its role in the system.

Documented implementation workflow4 COMPONENTS
INTERACTIVE 3DLogic Games and Simulations
BashShell scripting
Move to tilt · Drag to rotate · Arrow keysDrag to rotate · Tap a component4 components · 3 connections
2D diagram
Trace connections 3 relationships
  1. Choose a scriptInitialize state
  2. Initialize stateLoop and state changes
  3. Loop and state changesConsole output

Select a component to see how it fits into the system.

CAPABILITIES

What’s inside.

  • 01

    Snakes-and-ladders practice

  • 02

    Coin-outcome simulation

  • 03

    Random-outcome simulation

  • 04

    Arithmetic operations

Let’s build something useful.

Start a conversation ↗