refactoring the game towards an evented architecture - currently broken