Added entity game logic