12 lines
848 B
Plaintext
12 lines
848 B
Plaintext
# 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.
|