Close

Pong Clock Module

A project log for Home Automation Console.

Over the last 10 years or so my personal home automation controller has grown and grown.

todd-andersonTodd Anderson 08/19/2016 at 18:130 Comments

every wall screen needs a screensaver so i created a pong clock in javascript and CSS. If the screens are not touched for 2 minutes they default back to the pong clock. For those of you not familure with this concept. The automated player on the left wins every hour on the hour, the automated player on the right wins every minute on the minute. Because of this the score is always the time.

I have written this app 3 times over the last 5 years or so, it gets a little better every time. This version uses some code i found on the internet which allows it to run in the browser very smooth. My previous version had better more realistic paddle movement where the left hand player was obviously a worse player. I plan on combining the logic code from my previous version with the new version to create a better clock interface.

Discussions