Latch

Modules

Wheel of Fortune

Weighted segments that add time, remove time, freeze the clock, assign a random training task, or do nothing β€” with a cooldown between spins.

On this page

🎑 The wheel is chance with consequences. One spin, one segment, one event β€” and the clock moves, or a task appears, or nothing happens this time.

Spinning

Whatever the wheel does, it does through the core: time changes are adjustment events, a freeze is a real timed freeze, a task is a real assignment from your training library.

Segments

Each segment has a label, a weight, an effect, a value and a colour.

Effect What happens Value
add time is added to the clock minutes
remove time is taken off the clock minutes
freeze the clock freezes for this long, then thaws itself minutes
task a random enabled task that is not already open is assigned to this session β€”
nothing "Nothing happens… this time" β€”

Weight is probability, not size

Wedges are drawn equal, as on a real wheel. A segment with weight 3 is three times as likely as one with weight 1; it does not get a bigger slice. Weight 0 never lands.

Segments can be disabled without deleting them; a disabled one is not drawn and not shown. Editing is on Settings β†’ 🎑 Wheel of Fortune.

The default wheel

Label Weight Effect
+30 min 3 add
+1 hour 3 add
+3 hours 2 add
+12 hours 1 add
βˆ’30 min 2 remove
βˆ’1 hour 1 remove
Freeze 1h 1 freeze
Random task 2 task
Nothing 2 nothing

Time added outweighs time removed on purpose. Change it to taste.

History

The wheel page lists past spins with what each one did. On the dashboard the wheel card shows the last result and the cooldown remaining.

Undo

A spin can be undone within the window like any adjustment β€” unless it started a freeze or assigned a task. Those carry their own events; undo them first.

API

POST /api/v1/wheel/spin spins as the calling actor; GET /api/v1/wheel/segments lists the wheel. See API.


This page also ships inside the app, at /guide β€” so your own instance always serves the guide for the version you are running, with the internet unplugged. Get Latch Β· Something wrong here? Tell me.