User prompt
Remove the fish from the game
User prompt
Do not let the fish to go above the penguin
User prompt
Allow the player to catch fish and add five points
User prompt
Let the game happen underwater
User prompt
Let the game end when penguin hits an obstacle or the player reaches 500
User prompt
Add the fish to the game and allow the penguins to catch them
User prompt
Animate the ocean
User prompt
Let the fish appear from the ocean
User prompt
Add the ocean
User prompt
Let the ocean be the background
User prompt
Add pingos to the game and allow the penguin to rest there
User prompt
Add pingos to be another obstacle that moves slowly
Code edit (2 edits merged)
Please save this source code
User prompt
Put water on the background
User prompt
Instead of blue background make it an ocean
User prompt
Play cool sounds once a penguin captures a fish
User prompt
Let the game elements move from left to right
User prompt
Make the coins to jump
User prompt
Make the fish jump up and down at random heights
User prompt
Add more coins moving from left to right
Code edit (1 edits merged)
Please save this source code
User prompt
Make the background 💙
User prompt
Let it end when it reaches 200 points
User prompt
Change the color of the background once the player hits 50 points
===================================================================
--- original.js
+++ change.js
@@ -165,5 +165,9 @@
}
for (var i = 0; i < coins.length; i++) {
coins[i].speed += 2;
}
+}
+// End the game when the player reaches 200 points
+if (score >= 200) {
+ LK.showGameOver();
}
\ No newline at end of file