Tk Source Code

View Ticket
Login
Ticket UUID: 627471
Title: Add a simple game to the Widget tour
Type: RFE Version: None
Submitter: arjenmarkus Created on: 2002-10-23 14:16:51
Subsystem: 76. Widget Tour Assigned To: hobbs
Priority: 8 Severity:
Status: Closed Last Modified: 2026-11-13 16:24:57
Resolution: Fixed Closed By: serhiy.storchaka
    Closed on: 2026-11-13 10:36:56
Description:
It might be a nice idea to add a game to the demos,
such as appear on the Wiki. This will show:
- How to interact with the keyboard/mouse
- How to set up a game board (a more complicated
picture)
- How to do the logic for a game
User Comments: serhiy.storchaka added on 2026-11-13 10:36:56:

The demos now include two games: knightstour.tcl (Knight's tour) and puzzle.tcl (15-puzzle). Both use the canvas and react to the mouse.


dkf added on 2007-11-02 17:21:28:
Logged In: YES 
user_id=79902
Originator: NO

You've mentioned adding tktetris, Jeff. Seems like a reasonable idea to me, so assigning this FRQ to you.