prompts.chatprompts.chatprompts.chat
BotsPromptsSkillsWorkflowsCategoriesTagsPromptmastersTaste
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

Create a pixel-style digital block-breaking game.

Create a pixel-style digital block-breaking game.

邱
@loshu2003
9 months agoJanuary 21, 2026 at 12:55 AM
Coding•AI Tools

Content

Create a pixel-style digital block-breaking game.
The background should be a bright, pixelated grid.
Add a banner at the top of the page that reads, “Challenge Your Brain Speed!”
The canvas area is responsible for rendering the digital blocks that fall from the top.
The square numbers are randomly selected from 1 to 20.
The player clicks on two or three blocks to make their sum equal to the target value.
Making a mistake will result in losing a life; at most, you can lose three lives.
The score is displayed at the bottom.❤️Life and Leaderboard Access.
The animations include falling, zooming in upon clicking, explosions, and color transitions based on numerical values.
I expected CodeBuddy to be confused after outlining these points in brief, but to my surprise, it immediately listed them out.

Single-page UniApp project architecture.
Canvas rendering main logic.
Status management: scores, lives, click queue.
Animate using requestAnimationFrame.
The UI is constructed using basic components.

Comments (0)