And game I made while learning javaScript - terrible code warning!