Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Adding Lives and Score | Developing an Adventure Game Catch the Carrot
Build Games with Cursor AI

bookAdding Lives and Score

Let's add a sense of challenge and reward with lives and a score that tracks how many carrots you catch.

We're adding light gamification so players feel progress and challenge across multiple rounds, not just in a single run.

Here's what should be added.

Lives system.
expand arrow
  • The player starts with 3 lives;
  • Show them at the top of the screen as emojis;
  • When the rabbit touches an enemy (fox, wolf, etc.), the player loses one life;
  • After losing a life, reset the rabbit back to the starting position at the bottom, but don't end the game yet.
Game over.
expand arrow
  • Only when all lives are gone, show a big Game Over pop-up;
  • The pop-up should include a friendly message (keep it soft, not scary);
  • Add two buttons: "Play Again" and "Home";
  • While the pop-up is visible, the field should be paused.
Score system.
expand arrow
  • Every time the rabbit reaches the carrot at the top, add +1 point;
  • After scoring, reset the rabbit to the bottom so the next round can begin;
  • The score should stay visible, next to the hearts at the top.
question mark

In our game, what happens when the rabbit touches an enemy?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 4

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Awesome!

Completion rate improved to 6.67

bookAdding Lives and Score

Swipe to show menu

Let's add a sense of challenge and reward with lives and a score that tracks how many carrots you catch.

We're adding light gamification so players feel progress and challenge across multiple rounds, not just in a single run.

Here's what should be added.

Lives system.
expand arrow
  • The player starts with 3 lives;
  • Show them at the top of the screen as emojis;
  • When the rabbit touches an enemy (fox, wolf, etc.), the player loses one life;
  • After losing a life, reset the rabbit back to the starting position at the bottom, but don't end the game yet.
Game over.
expand arrow
  • Only when all lives are gone, show a big Game Over pop-up;
  • The pop-up should include a friendly message (keep it soft, not scary);
  • Add two buttons: "Play Again" and "Home";
  • While the pop-up is visible, the field should be paused.
Score system.
expand arrow
  • Every time the rabbit reaches the carrot at the top, add +1 point;
  • After scoring, reset the rabbit to the bottom so the next round can begin;
  • The score should stay visible, next to the hearts at the top.
question mark

In our game, what happens when the rabbit touches an enemy?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 3. ChapterΒ 4
some-alt