The document describes a memory game. The game window is titled "memory" and has dimensions of 400x500 pixels. It is divided into a 4x4 grid of 16 tiles that are initially hidden. When a tile is clicked, its image is revealed, and the player must click another tile to find a match. If the images match, they stay visible. If not, they hide again. The game ends when all tile images have been matched and revealed. Clicking the close button closes the game window.
The document describes a memory game. The game window is titled "memory" and has dimensions of 400x500 pixels. It is divided into a 4x4 grid of 16 tiles that are initially hidden. When a tile is clicked, its image is revealed, and the player must click another tile to find a match. If the images match, they stay visible. If not, they hide again. The game ends when all tile images have been matched and revealed. Clicking the close button closes the game window.
The document describes a memory game. The game window is titled "memory" and has dimensions of 400x500 pixels. It is divided into a 4x4 grid of 16 tiles that are initially hidden. When a tile is clicked, its image is revealed, and the player must click another tile to find a match. If the images match, they stay visible. If not, they hide again. The game ends when all tile images have been matched and revealed. Clicking the close button closes the game window.
The document describes a memory game. The game window is titled "memory" and has dimensions of 400x500 pixels. It is divided into a 4x4 grid of 16 tiles that are initially hidden. When a tile is clicked, its image is revealed, and the player must click another tile to find a match. If the images match, they stay visible. If not, they hide again. The game ends when all tile images have been matched and revealed. Clicking the close button closes the game window.
The top of the window reads ‘memory’. The window height is 400 and the width is 500 pixels.
Describe the Window surface:
When the game starts, All random 8 pairs of two tiles must be hided when the game starts. The window surface is divided into 16 tiles (4x4) of equal size. There is a scoreboard on the top right side of the window.
Describe the tile:
Tiles are blue with a red interrogation mark in the middle. The lines separating tiles on the screen are black. Each title are 100 x 100 so there is a black 100 x 500 space on the right side of the window.
What happens when a player clicks on the screen?
When a tile is clicked, a picture appear. The player has to click another tile. If the the two tile have the same picture, the picture stay on the screen until the end of game. However, if the tile have differents picture they both go back to tile blue with a red interrogation. If player click first tile it waits expose untill player clicks second tile
How does the game end?
The game end when all tile are returned (have picture and been associate to the other tile having the same picture) .
What happens when the close button is clicked?
The game window closes.
Version 1 description:
Describe The Window
The top of the window says ‘memory’. The window height is 400 and the width is 500 pixels.
Describe the Window Surface
When the game starts, All 8 pairs of two tiles must be exposed. The window surface is divided into 16 tiles (4x4) of equal size. Title shows picture. The lines separating tiles on the screen are black. The picture are randomly placed and there is place for scoreboard on right side however there is no score yet.
Describe the tile
Tiles are all randomly placed by 8 pairs of 16 images and its all exposed since start of the game. The lines separating tiles on the screen are black. Each title are 100 x 100 so there is a black 100 x 500 space on the right side of the window.
What happens when the close button is clicked?
The game window closes.
Functional Tests
1.Start the program
1.1. Does a window appear? 1.1.1. Is the window 500 x 400 pixels? 1.1.2. Is the window title ‘Memory’? 1.1.3. Is the background color black?
2. Window surface and tiles
2.1 Does a 4 by 4 grid of tiles appear? 2.1.2 Is each tile 100 x 100? 2.1.3 Does each tile have a 3 pixel black border? 2.1.5 does a 8 pairs of 16 images exposed? 2.1.6 Are all images randomly placed when we start the game again?
3.0.Game end 3.1. Does the window close when the user pressed the exit key