Very first version of my game before all the refactoring