"1. Rules of the game
The black square slides down from the top of the screen;
Players need to click on the black blocks accurately;
Clicking on a white area or a missing black block will immediately cause the game to fail;
Depending on the mode, the game sets speed, time limit or block limit;
As the game progresses, the speed gradually increases.
2. Game goals
Get higher scores;
Improve reaction speed and concentration;
Click the black blocks as continuously and accurately as possible to challenge the limit record.
4. Functional requirements
1. Game mode
Mode Description
Classic Mode: The less time it takes to click 50 black blocks, the better. The speed is fixed, suitable for racing challenges and rankings.
Endless mode: infinite black blocks continue to fall, the speed gradually increases, and scores accumulate according to the number of clicks
Zen Mode has a time limit of 30 seconds. Click as many black blocks as possible within the time limit to score points. This will test your rhythm and hand speed.
2. Game interface
Top: score display, current mode, pause/return button;
Middle part: main game area, black and white square falling area;
Bottom: timer, status bar, theme prompts.
3. Main functional modules
Module Function Description
Block generation generates black/white block combinations according to the mode, supporting different speed and spacing strategies.
Falling animation: Blocks fall smoothly from the top of the screen, supporting speed changes at any time
Click judgment detects whether a black block is clicked; the trigger fails when a white block or missing black block is clicked
Scoring system: Successfully click on the black block to get extra points, click continuously to get combo rewards.
Mode management supports switching control of different rules, time limits, and speeds
Setting function supports switching themes, backgrounds, custom sound effects and resetting scores
Game end determination: When the game fails, the score statistics page is displayed, and replay or exit is supported.
5. Non-functional requirements
1. UI style
Flat modern style
Mainly black and white color, supports switching to colorful theme and night theme
Large buttons and simple interface are suitable for different age groups
2. Sound feedback
Click the black block sound effect (piano sound can be customized)
Successful combo bonus sound effects
Game end failure prompt sound
Support silent switching option"