You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -155,8 +165,8 @@ Character preview frames are extracted from sprite sheets:
155
165
### Property1:Grid navigation wrapping
156
166
157
167
*For any* grid position (column, row) and any navigation direction (UP, DOWN, LEFT, RIGHT), navigating in that direction should move to the correct adjacent cell with wrapping at boundaries. Specifically:
158
-
-UP from row 0 wraps to row 1
159
-
-DOWN from row 1 wraps to row 0
168
+
-UP from row 0 wraps to row 3
169
+
-DOWN from row 3 wraps to row 0
160
170
-LEFT from column 0 wraps to column 1
161
171
-RIGHT from column 1 wraps to column 0
162
172
@@ -243,13 +253,13 @@ The implementation will use **JUnit with QuickTheories** for property-based test
Copy file name to clipboardExpand all lines: .kiro/specs/character-selection-menu/requirements.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,11 +33,11 @@ This document specifies the requirements for a character selection feature that
33
33
34
34
#### Acceptance Criteria
35
35
36
-
1. WHEN the Character Selection Menu is displayed THEN the system SHALL render a 2x2 grid of character preview cells
37
-
2. WHEN rendering each grid cell THEN the system SHALL draw a 64x64 pixel square with a 2-pixel white border
38
-
3. WHEN rendering character previews THEN the system SHALL display each character sprite at 48x48 pixels centered within its 64x64 pixel cell
39
-
4. WHEN rendering character previews THEN the system SHALL extract the idle frame from position (0, 2048) of each character sprite sheet
40
-
5. WHEN displaying the grid THEN the system SHALL show the following characters in order: girl_red_start.png (top-left), girl_navy_start.png (top-right), boy_red_start.png (bottom-left), boy_navy_start.png (bottom-right)
36
+
1. WHEN the Character Selection Menu is displayed THEN the system SHALL render a 2x4 grid of character preview cells (2 columns, 4 rows)
37
+
2. WHEN rendering each grid cell THEN the system SHALL draw a 128x128 pixel square with a 2-pixel white border
38
+
3. WHEN rendering character previews THEN the system SHALL display each character sprite at 96x96 pixels centered within its 128x128 pixel cell
39
+
4. WHEN rendering character previews THEN the system SHALL extract the idle frame from position (0, 1664) of each character sprite sheet
40
+
5. WHEN displaying the grid THEN the system SHALL show the following characters in order: girl_red_start.png (row 0, col 0), girl_navy_start.png (row 0, col 1), girl_green_start.png (row 1, col 0), girl_walnut_start.png (row 1, col 1), boy_red_start.png (row 2, col 0), boy_navy_start.png (row 2, col 1), boy_green_start.png (row 3, col 0), boy_walnut_start.png (row 3, col 1)
41
41
42
42
### Requirement 3
43
43
@@ -50,7 +50,7 @@ This document specifies the requirements for a character selection feature that
50
50
3. WHEN the user presses the DOWN arrow key THEN the system SHALL move the selection to the cell below the current selection
51
51
4. WHEN the user presses the LEFT arrow key THEN the system SHALL move the selection to the cell to the left of the current selection
52
52
5. WHEN the user presses the RIGHT arrow key THEN the system SHALL move the selection to the cell to the right of the current selection
53
-
6. WHEN the user navigates beyond the grid boundaries THEN the system SHALL wrap the selection to the opposite side of the grid
53
+
6. WHEN the user navigates beyond the grid boundaries THEN the system SHALL wrap the selection to the opposite side of the grid (UP from row 0 wraps to row 3, DOWN from row 3 wraps to row 0, LEFT from column 0 wraps to column 1, RIGHT from column 1 wraps to column 0)
54
54
55
55
### Requirement 4
56
56
@@ -85,5 +85,5 @@ This document specifies the requirements for a character selection feature that
85
85
1. WHEN the Character Selection Menu is displayed THEN the system SHALL render all text using the LocalizationManager
86
86
2. WHEN the user changes the game language THEN the system SHALL update the Character Selection Menu text to the new language
87
87
3. WHEN the Character Selection Menu is opened THEN the system SHALL display the menu title in the current language
88
-
4. WHEN localization files are loaded THEN the system SHALL include translations for "Choose Character" in all supported languages (English, German, Dutch, Polish, Portuguese)
88
+
4. WHEN localization files are loaded THEN the system SHALL include translations for "Choose Character" and all 8 character names (Girl Red, Girl Navy, Girl Green, Girl Walnut, Boy Red, Boy Navy, Boy Green, Boy Walnut) in all supported languages (English, German, Dutch, Polish, Portuguese)
89
89
5. WHEN the Character Selection Menu displays instructions THEN the system SHALL show keyboard navigation hints in the current language
0 commit comments