Names from a hat
summary
Starts from the obvious Ruby methods Array#sample and Array#shuffle but actually shows solutions using Fiber for cooperative interactivity and why's UI toolkit why's Shoes for animated draws into a hat then builds a terminal dungeon crawler called L Rogue that mixes computer and human choice the demos progress from tiny scripts to 8 27 119 244 and finally 1,259 lines of code and the final game runs and reveals maps as the player explores
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:26Ruby’s randomization tools
- 3:51Over-engineering in Ruby
- 7:03Ruby fibers over-engineering
- 9:11UI with Shoes for randomization
- 15:39UI patterns with Shoes
- 18:03Animations with Shoes
- 21:59Scripts to terminal games
- 24:28Terminal game graphics
- 28:25Random dungeon generation
- 30:32Recap and closing








