Many, many thanks Old Pedant. I have been learning using Codecademy. This is the practice they sort of teach so I was just adapting what I had learned to blindly make that game. It isn't anything serious, just a little practice run for me until I learn further. I really appreciate your help there man, I will be sure to take it in to account and learn from it.
Thanks once again.