system diagram for game engine