Major Refactoring

Splitting the only class into 2 classes
Using Factory  Design Pattern for Creating the game
Introducing information hiding
Increasing stronger cohesion and loosed coupling.
Still place for optimization can be found.