Java Script Objects
Java script objects represent different objected utilized in a game, like the blocks, player, platform, etc. Each object has properties which decides how to object acts and looks in the game and reacts to its environment.
Use of java script objects
We used java script objects to implement every part of the game. Each element in the game has code to define its appearance and function.