simple javascript game built during class demo (took about 1 hour to create from scratch)