任务
This commit is contained in:
11
tasks/task_024.txt
Normal file
11
tasks/task_024.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
# Task ID: 24
|
||||
# Title: Share Game Results (Image Generation)
|
||||
# Status: pending
|
||||
# Dependencies: 16, 17
|
||||
# Priority: medium
|
||||
# Description: Implement functionality to generate shareable image cards of game results, allowing users to easily share their achievements on WeChat or other platforms.
|
||||
# Details:
|
||||
Frontend: After a game, provide a 'Share' button. Use Canvas API to render the game result (winner, score, final board state) into an image. Include user's avatar, nickname, and a QR code for the mini-program. Implement WeChat sharing API to allow sharing the generated image to friends/groups/moments.
|
||||
|
||||
# Test Strategy:
|
||||
Complete a game and trigger the share function. Verify the generated image accurately reflects the game results and looks visually appealing. Test sharing to WeChat (friends, groups, moments) and confirm successful delivery.
|
||||
Reference in New Issue
Block a user