Code edit (1 edits merged)
Please save this source code
User prompt
Dot Precision Master
Initial prompt
Create a precision-based visual memory game with the following rules: • The game screen has a solid black background. • A small dot appears randomly on the screen for a brief moment and then disappears. • The player must guess the exact latitude and longitude (X and Y coordinates) where the dot appeared. • The accuracy required is extremely high: 99.99999%. Even being off by a ten-thousandth of a millimeter will count as incorrect. • Points are awarded based on the accuracy of the guess (e.g. 100% accuracy = full score, 90% accuracy = partial score, etc.). • Every 5 levels, the number of dots to guess increases: • Levels 1–4: 1 dot per round • Levels 5–8: 2 dots appear simultaneously • Levels 9–12: 3 dots appear simultaneously • And so on... • In rounds with multiple dots, all dots appear and disappear at the same time, and the player must submit a guess for the coordinates of each dot. • The challenge escalates with speed, complexity, and required precision. Design the game UI to provide instant feedback on guess accuracy, track level progression, and maintain a score based on cumulative accuracy.
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
}); /****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});