If anyone else is as lame as I am, here’s my code:

This is such an addicting game.