A simple game engine