Created and implemented game engine