Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Adding Fun Facts and Win Screen | Building Your First Game Flip Cards
/
Game Development with Cursor

bookAdding Fun Facts and Win Screen

メニューを表示するにはスワイプしてください

A memory game is more exciting when each match comes with a little reward. You'll add playful pop-ups that show fun facts after every correct match, and a cheerful win screen when the game is finished.

Fun fact pop-up
expand arrow
  • After every correct match, a small pop-up appears;
  • It shows a short fact from the chosen topic, with one fact per pair (ten facts in total);
  • The pop-up includes a big ok button. Until it's closed, the game is paused. No cards can be flipped.
Final pair and win screen
expand arrow

Final Pair + Win Screen:

  • When the very last pair is matched, show its fact first;
  • After pressing ok button, immediately display a cheerful win screen;
  • The win screen says something like "You won! 🎉" and has two buttons: Play Again and Back Home;
  • While this screen is open, the board is frozen, so players can't interact with the cards.
question mark

When the last pair is matched in the memory game, what is the correct sequence of pop-ups according to the prompt?

正しい答えを選んでください

すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 1.  4

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

セクション 1.  4
some-alt