Tutorial
The ztk docs teach Tk with an early version of this game, in five steps: streets as tabs, the paint of the night, the run of the hero, the jump, and a game of your own.
Start the tutorial on the ztk site.
The tutorial uses one file of about 1,400 lines. This repository splits that file into the core (core/), the view (ui/), and main.tcl, so the rules of the game have tests with no window.