Prime Number Finding Game

🎮 Prime Number Finder

This is a fun, fast-paced, and interactive brain game based on one of the fundamental concepts of mathematics: “Prime Numbers.”

🎯 Objective

Determine whether the random number appearing on the screen is a Prime Number.
(Reminder: Prime numbers are numbers greater than 1 that are divisible only by 1 and themselves. E.g., 2, 3, 5, 7, 11… Note: 1 is not a prime number.)

⚙️ How to Play?

Difficulty Selection: Two options appear on the main screen:

1 to 50: Numbers between 1 and 50 appear (For beginners).

1 to 100: Numbers between 1 and 100 appear (A bit more challenging).

Game Loop: Once you make a selection, the game begins, and you are presented with 10 different numbers in succession.

Making a Decision:

If the number is prime, click the green YES button.

If the number is not prime, click the red NO button.

🏆 Scoring System

Both speed and accuracy matter in the game:

✅ Correct Answer: Earns +50 points.

❌ Incorrect Answer: Deducts 15 points.

🌟 Maximum Score: Get them all right to score a total of 500 points!

✨ Visual and Audio Effects

Equipped with special effects to enhance the gaming experience:

When You Get It Right: Cheerful confetti bursts on the screen, the number glows green, and a victory melody plays. A “+50” indicator floats upwards across the screen. On an Incorrect Answer: The number glows red, a sad “waa waa waa” sound plays, and a “-15” indicator floats up.

Animations: Numbers slide smoothly from right to left as they appear and disappear (swipe effect).

🏁 Game Over

Once you complete 10 numbers, a results screen appears. Depending on your score, you receive messages such as “Great Job! 🎉”, “Good Effort!”, or “Better Luck Next Time!”. From here, you can immediately select “Play Again” for a rematch or choose “Main Menu” to return to the main menu.

Prime Number Finder

Prime Finder

Decide if the number is Prime or Not!

Select Difficulty

How to play:

  • 10 random numbers per round.
  • Answer YES if it's a prime number (only divisible by 1 and itself).
  • Answer NO if it's not. (Note: 1 is NOT prime).
  • Correct: +50 pts | Wrong: -15 pts

Post Comment