Code edit (1 edits merged)
Please save this source code
User prompt
Zombie Dodge
Initial prompt
Design a game called 'Zombie Dodge'. The player controls a character in a field. Zombies spawn and chase the player. The goal is to survive as long as possible without being caught. Each second survived increases the score. The game ends if a zombie touches the player.
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});