Perfect for geometry and math lovers!


This is my first game which I made using the Casual Games Toolkit (https://docs.flutter.dev/resources/games-toolkit).

It is completely adapted from the game_template (https://github.com/flutter/samples/tree/master/game_template) code.

The main objective of the game is to guess how many of the smaller shapes will fit inside the larger shape. It's quite simple. The closer the guess is to the correct answer and the shorter the time it takes to guess it, the more points you get.

As easy as pie.

There are 6 levels in the game.

The game gets harder from level 1 to level 6.

The accuracy is calculated with the following formula:

accuracy = 1 - errorRateĀ 

errorRate = ( | guess - goal | ) / goal

(https://www.cuemath.com/accuracy-formula/)

At level 1 there is 50% tolerance (errorRate). This means that your guess can be at most 50% away from the correct answer. Otherwise, round 1 cannot be passed. Similarly, the tolerance is 35% at level 2, 28% at level 3, 21% at level 4, 14% at level 5 and 7% at level 6.

The points you will earn depending on your prediction are calculated with the formula below:

point = accuracy * points[level]; (the nominal score of your level multiplied by the accuracy rate.)

Level 1 has 10 points, level 2 has 20 points, level 3 has 60 points, level 4 has 240 points, level 5 has 1200 points, level 6 has 7200 points.

In addition, the score will be doubled if the guess time is 3 seconds (inclusive) or less, 1.5 times if the guess time is between 3 and 5 seconds (inclusive), and 1.25 times if the guess time is between 5 and 7 seconds (inclusive).

Let's say you answered the question at level 4 100% correctly in 2 seconds. First of all, since your accuracy rate is 100%, you will receive all 240 points, which is the nominal score for level 4. Then, because you answered in less than 3 seconds, your score will double to 480.

If your accuracy falls below the tolerances set by level, you lose the game. This means you will return to level 1. However, before returning to level 1, you can continue the game from the current level by using 1 heart. Only 1 heart is available at the start of each game. If you run out of hearts, you can continue from where you left off by watching an advertisement. When there is no heart left to use and it is not preferable to stay in that level by watching an ads, the game is restarted with 1 heart after returning to level 1.