refactor GameEngine.ts
test Transformation