Tests/BlockParty: Difference between revisions
< Tests
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
| Clicking on the journal entry restores the activity to an appropriate state. || <span style="color:green">pass</span> |
| Clicking on the journal entry restores the activity to an appropriate state. || <span style="color:green">pass</span> |
||
|- |
|- |
||
|colspan="2"| ''' |
|colspan="2"| '''Black and white functionality''': set the screen to black and white mode. |
||
|- |
|- |
||
| The game is still easily viewable and playable. || <span style="color:red">fail: O-pieces are hard to see</span> |
|||
| Additional tests will be placed here soon || - |
|||
|- |
|||
|colspan="2"| '''New game''': initialisation tests. |
|||
|- |
|||
| Points, lines and level are initialised properly. || <span style="color:red">fail: Level is initialised erratically to values around 5</span> |
|||
|- |
|||
| A random piece is at the top of the well. || <span style="color:green">fail: Some spawn above the well, the I-piece 1 below the top.</span> |
|||
|- |
|||
| A random piece is in the next piece window. || <span style="color:green">pass</span> |
|||
|- |
|||
|colspan="2"| '''Piece generation''': generation of new pieces while playing. |
|||
|- |
|||
| The next piece shown in the window is the next piece given. || <span style="color:green">pass</span> |
|||
|- |
|||
| A random piece appears in the next piece window for each new piece. || <span style="color:green">pass</span> |
|||
|- |
|||
|colspan="2"| '''Piece movement''': movement and rotation of pieces while playing. |
|||
|- |
|||
| Pieces can be moved left and right using arrow keys/pad (assuming no collisions). || <span style="color:green">pass</span> |
|||
|- |
|||
| Pieces can be rotated using up arrow key/pad (assuming no collisions). || <span style="color:green">pass</span> |
|||
|- |
|||
| Piece doesn't move/rotate through solid objects. || <span style="color:green">pass</span> |
|||
|- |
|||
| Piece falls at a set rate depending on the current level. || <span style="color:green">pass</span> |
|||
|colspan="2"| '''Piece landing''': movement and rotation of piece just as it lands. |
|||
|- |
|||
| Piece can be moved/rotated while resting for a limited amount of time. || <span style="color:green">pass</span> |
|||
|- |
|||
| Points are awarded once piece has settled. || <span style="color:green">pass</span> |
|||
|- |
|||
|colspan="2"| '''Line completion''': complete and remove a line/s. |
|||
|- |
|||
| When a line/s is completed, the completed lines disappear and blocks above shuffle down. || <span style="color:green">pass</span> |
|||
|- |
|||
| When a line/s completed, the line score increases. || <span style="color:green">pass</span> |
|||
|- |
|||
| When a line/s completed, the points increase. || <span style="color:green">pass: Although, this could be a result of piece landing</span> |
|||
|- |
|||
⚫ | |||
|- |
|||
| Level increases when points/lines reach a certain point. || <span style="color:green">pass: Unsure of that point however</span> |
|||
|- |
|||
|colspan="2"| '''Game over''': end of game. |
|||
|- |
|||
| The game ends when a new piece spawns on an existing block. || <span style="color:green">pass</span> |
|||
|} |
|} |
||
Line 61: | Line 106: | ||
* Clicking on the journal entry restores the activity to an appropriate state. |
* Clicking on the journal entry restores the activity to an appropriate state. |
||
==Black |
==Black and white functionality== |
||
Justification: [[HIG]] |
Justification: [[HIG]] |
||
Line 70: | Line 115: | ||
* The game can still be viewed and played. |
* The game can still be viewed and played. |
||
== |
==New game== |
||
Justification: |
Justification: |
||
Actions: |
Actions: |
||
# start a new game |
# start a new game |
||
⚫ | |||
Verify: |
Verify: |
||
* Points equal 0. |
|||
* Lines equal 0. |
|||
* Level equals 1. |
|||
* A random piece is spawned at the top of the well. |
* A random piece is spawned at the top of the well. |
||
* A random piece is generated in the next piece window. |
* A random piece is generated in the next piece window. |
||
==Piece generation== |
|||
Justification: |
|||
Actions: |
|||
⚫ | |||
Verify: |
|||
* When the piece is dropped, the next piece spawned is the one from the next piece window. |
* When the piece is dropped, the next piece spawned is the one from the next piece window. |
||
* A random piece is generated in the next piece window. |
|||
==Piece |
==Piece movement== |
||
Justification: |
Justification: |
||
Line 97: | Line 153: | ||
* Tetromino falls at a set rate depending on the level of speed, regardless of actions taken, until it cannot fall anymore. |
* Tetromino falls at a set rate depending on the level of speed, regardless of actions taken, until it cannot fall anymore. |
||
== |
==Piece landing== |
||
Justification: |
Justification: |
||
Line 108: | Line 164: | ||
* Points are awarded once the piece is fixed based on how long the piece has been falling. |
* Points are awarded once the piece is fixed based on how long the piece has been falling. |
||
==Line |
==Line completion== |
||
Justification: |
Justification: |
||
Line 120: | Line 176: | ||
* Points are awarded for the piece. |
* Points are awarded for the piece. |
||
== |
==Level increasing== |
||
Justification: |
Justification: |
||
Actions: |
Actions: |
||
⚫ | |||
⚫ | |||
Verify: |
Verify: |
||
* The level increases once the points/lines reach that point. |
|||
⚫ | |||
* Otherwise, piece falls as per normal. |
|||
== |
==Game over== |
||
Justification: |
Justification: |
||
Actions: |
Actions: |
||
⚫ | |||
⚫ | |||
Verify: |
Verify: |
||
⚫ | |||
⚫ | |||
[[category:tests]] |
[[category:tests]] |
Revision as of 02:21, 21 March 2008
Block Party Tests
Action | Result | ||
---|---|---|---|
Opening the activity: click on the activity icon. | |||
The icon appears in the activity donut, and pulses during activity startup. | pass | ||
The activity opens properly. | pass | ||
Closing the activity: click the X in the upper-right-hand corner of the activity. | |||
The activity closes properly. | fail: No X icon on screen | ||
The icon disappears from the activity donut. | pass | ||
Journal functionality: open the journal activity. | |||
A journal entry for the previous activity session appears. | pass | ||
Clicking on the journal entry restores the activity to an appropriate state. | pass | ||
Black and white functionality: set the screen to black and white mode. | |||
The game is still easily viewable and playable. | fail: O-pieces are hard to see | ||
New game: initialisation tests. | |||
Points, lines and level are initialised properly. | fail: Level is initialised erratically to values around 5 | ||
A random piece is at the top of the well. | fail: Some spawn above the well, the I-piece 1 below the top. | ||
A random piece is in the next piece window. | pass | ||
Piece generation: generation of new pieces while playing. | |||
The next piece shown in the window is the next piece given. | pass | ||
A random piece appears in the next piece window for each new piece. | pass | ||
Piece movement: movement and rotation of pieces while playing. | |||
Pieces can be moved left and right using arrow keys/pad (assuming no collisions). | pass | ||
Pieces can be rotated using up arrow key/pad (assuming no collisions). | pass | ||
Piece doesn't move/rotate through solid objects. | pass | ||
Piece falls at a set rate depending on the current level. | pass | Piece landing: movement and rotation of piece just as it lands. | |
Piece can be moved/rotated while resting for a limited amount of time. | pass | ||
Points are awarded once piece has settled. | pass | ||
Line completion: complete and remove a line/s. | |||
When a line/s is completed, the completed lines disappear and blocks above shuffle down. | pass | ||
When a line/s completed, the line score increases. | pass | ||
When a line/s completed, the points increase. | pass: Although, this could be a result of piece landing | ||
Level increase: level increases once points/lines reach a certain point. | |||
Level increases when points/lines reach a certain point. | pass: Unsure of that point however | ||
Game over: end of game. | |||
The game ends when a new piece spawns on an existing block. | pass |
Opening the activity
Justification: HIG
Actions:
- start the Block Party activity by clicking on the corresponding icon on the taskbar.
Verify:
- that the Block Party icon is added to the activity doughnut.
- that the Block Party icon pulses to indicate the activity starting up.
- that the Block Party activity starts properly.
- that the window shows a new game screen and the game is paused.
Close the activity
Justification: HIG
Actions:
- click the X button in the top right corner.
- you can use as well the shortcuts (ctrl+q) or (ctrl+esc) to quit the activity
Verify:
- that clicking the X button (or using keyboard shortcuts) closes the Block Party activity.
- that the Block Party icon disappears from the activity doughnut.
Journal functionality
Justification: HIG
Actions:
- open the journal activity.
Verify:
- A journal entry for the previous activity session appears.
- Clicking on the journal entry restores the activity to an appropriate state.
Black and white functionality
Justification: HIG
Actions:
- set the screen to black and white mode.
Verify:
- The game can still be viewed and played.
New game
Justification:
Actions:
- start a new game
Verify:
- Points equal 0.
- Lines equal 0.
- Level equals 1.
- A random piece is spawned at the top of the well.
- A random piece is generated in the next piece window.
Piece generation
Justification:
Actions:
- drop piece.
Verify:
- When the piece is dropped, the next piece spawned is the one from the next piece window.
- A random piece is generated in the next piece window.
Piece movement
Justification:
Actions:
- move the piece left and right using the arrow keys or arrow pad.
- rotate the piece using the up arrow or up pad direction.
- drop the piece using the space key or down pad direction.
Verify:
- Tetromino moves accordingly to the key pressed if it can.
- Tetromino rotates in the same direction whenever rotated if it can.
- O-piece tetromino doesn't rotate at all.
- Tetromino doesn't move/rotate through existing blocks or walls/floor.
- Tetromino falls at a set rate depending on the level of speed, regardless of actions taken, until it cannot fall anymore.
Piece landing
Justification:
Actions:
- move the piece left or right if it can when the piece is resting on a block or floor.
- rotate the piece if it can when the piece is resting on a block or floor.
Verify:
- Piece can still be moved/rotated for a specific amount of time depending on the level if it can.
- Points are awarded once the piece is fixed based on how long the piece has been falling.
Line completion
Justification:
Actions:
- place a piece so that it completely fills a line/s horizontally.
Verify:
- The line/s disappear.
- All blocks above the line/s are shuffled down.
- The line/s score increments by the number completed.
- Points are awarded for the piece.
Level increasing
Justification:
Actions:
- score the points/lines required for the next level.
Verify:
- The level increases once the points/lines reach that point.
Game over
Justification:
Actions:
- fill the well with blocks, so a new piece spawned collides with existing blocks.
Verify:
- If the newly spawned piece collides with existing blocks, that the game is over.