Game Engine

Getting Started

Lets start by making something simple, a square. let mygame = new Game(); will initialise a new game object. Then we can use let square = new Object(game, 50, 50, background="red") to make the square.