任务
This commit is contained in:
11
tasks/task_033.txt
Normal file
11
tasks/task_033.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
# Task ID: 33
|
||||
# Title: Basic Shop System (Skins, Effects)
|
||||
# Status: pending
|
||||
# Dependencies: 2, 5, 31
|
||||
# Priority: low
|
||||
# Description: Implement a basic in-game shop where players can purchase cosmetic items like plane skins and attack effects using virtual currency.
|
||||
# Details:
|
||||
Backend: Define `Item` model (ID, type, price, asset path). Implement API for fetching shop items, purchasing items, and managing user's inventory. Users need a virtual currency balance. Frontend: Create a 'Shop' screen displaying available skins and effects. Allow users to preview items and make purchases. Display current virtual currency balance.
|
||||
|
||||
# Test Strategy:
|
||||
Add dummy items to the shop. Test purchasing items with sufficient/insufficient currency. Verify item is added to user's inventory and currency is deducted. Test equipping purchased skins/effects in a game.
|
||||
Reference in New Issue
Block a user