On Friday I decided I wanted a very simple timer for my desktop. Today I have an idle game with a timer as an added bonus.
The "game" is quite simple. It's a barebones console window that will, at regular intervals, popup a window and progress you forward in the game when you "Ok" the popup away.
The game features a config.txt file that allows you to modify most of the prominent values in the game. Like how long it takes for the game to update, if the game generates a popup at all, what the popup says, and a variety of strings.
You can download OnceAnHour for Windows here.
The remainder of this post is about the source code for OnceAnHour.
The game is written in Python 2.7 and uses a handful of builtin modules. It's wrapped into an .exe via py2exe.
The game is not cross-platform because it uses "ctypes.windll.user32.MessageBoxA" to generate the popup window. I believe this is relatively easy to solve by using something like Tkinter instead, but I haven't Googled enough about it yet to be certain.
Edit: you can now view OnceAnHour's source on GitHub.