stem-panic

command
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 2 Imported by: 0

README

Stem Panic

A tapper-style tea processing game built with Kukicha and the stdlib/game library.

Slide raw tea stems down conveyor lanes to fill tea orders. Each lane is a |> pipeline with processing stations inline. An unhandled bitter leaf causes a Bitter Panic!

How to play

  • UP/DOWN — switch lanes
  • ENTER/SPACE — send a stem down the current lane
  • SPACE — activate the onerr catcher to catch bitter leaves
  • ESC — return to title screen

Building

This is a WASM-only game. Build and serve it in the browser:

kukicha build --wasm main.kuki
kukicha run serve.kuki
# Open http://localhost:8082

Concepts demonstrated

This example builds on the game tutorials and adds:

  • Multiple game states (title, menu, playing, level complete, game over)
  • Level progression with unlockable stages
  • Multiple conveyor lanes with independent processing stations
  • The |> pipe operator as a visual gameplay mechanic
  • onerr catchers as interactive game objects
  • Enums for game state management

Files

File Purpose
main.kuki Game logic (WASM, //go:build js)
serve.kuki Local dev server (native Go)

Documentation

Rendered for js/wasm
The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL