rendering separated from game logic
rendering separated from game logic