decoupled classes by adding dependency injection to Game.rb