Titler – javascript game in the titlebar


Play the game nowSee the source on Github

I had an idea the other day about creating a game using only the window title bar. Afterwards I just needed to try it out and see if I could do it, so here is my game. It is really simple but can be extended.

The controls are up and down arrow and you have to watch out for flying objects. On the left side you see what level you are on and how many lives are left.

The “magic” behind the game is setInterval to call a function every x milliseconds and window.title to change the text in the title bar. For more detail, look at the source on Github.

blog comments powered by Disqus
Fork me on GitHub