Thu 07 May 2026

Metropolis Shift - A Game for GUI Automation Bots

Posted by Al Sweigart in misc   

PLAY THE GAME ONLINE - I generated a single-page browser game inspired by the clock scene in Fritz Lang's Metropolis — a futile, attention-demanding job that never quite stays done. You must click the orange buttons to turn them all green, and re-click any buttons that turn orange. You gain points when they are ALL green, and lose points if ANY are orange. This game can be played by hand or it can be used to test GUI automation tools such as PyAutoGUI (as explained in the book, Automate the Boring Stuff with Python.) The project is based in a git repo. This app was generated with Claude Code.


Check out other books by Al Sweigart, free online or available for purchase:

...and other books as well! Or register for the online video course. You can also donate to or support the author directly.