Code edit (1 edits merged)
Please save this source code
User prompt
Forest Escape
Initial prompt
Create a simple endless runner game called 'Forest Escape'. The player controls a running character in the jungle. The character must jump over rocks, duck under tree branches, and avoid rivers. The game should get faster over time, and the player’s score increases the longer they survive.
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});