Question: C program (Graphic) in ubuntu OUTPUT: Graphical Color and Shape Match (Interfacing project) INPUT: Keyboard / Mouse or both LEVEL 1: Color based matching game.

C program (Graphic) in ubuntu

OUTPUT: Graphical Color and Shape Match (Interfacing project)

INPUT: Keyboard / Mouse or both

LEVEL 1: Color based matching game. No shape based matching involved; but can use any one basic shape or only using grids as the example shown in Figure 1. Level 1 should be at least 2 by 3 grid game.

C program (Graphic) in ubuntu OUTPUT: Graphical Color and Shape Match (Interfacing

Triggered by main input, a player chooses any one grid/object to see the unique color associated to it to start the game. Then the player needs to guess another grid/object that may have the same color to match the color of the previously selected (opened) object. If the guess is wrong, the color of the guessed object will be changed back to the initial color used (e.g. white or gray). Make another guess until user finds the match. Once matched is found, both the objects should be kept opened. User will then choose another object until all 3 objects are matched (in the case of Level 1 for 2 by 3 grid game).

Additional/Extra (Bonus mark):

1) Information on the matching game is displayed before user starts the game. Game level selection etc.

2) Data from the game to be displayed such as the color detail, number of guesses etc.

3) You can use the basic shapes to represent the color or some other method is also acceptable as long as the focus of matching is on color not shape.

4) Give some restriction i.e. maximum no of guesses for one color matching.

LEVEL 2: Similar to Level 1, user needs to guess the color ONLY. However, this time the grid size is increased to a size of at least 3 by 4. Information on the game played should be displayed.

LEVEL 3: This level involves matching based on both color and shape. A combination of unique colors and shapes (not just basic shapes available in the graphics but also new shapes) must be introduced in Level 3. The grid size must be similar or larger than the grid size in Level 2. Additional/Extra (Bonus mark): 1. New shapes; e.g. combination of some basic shapes. 2. Summarize the game statistics such as number of games, games won, games lost, time on game. 3. Other statistics.

O O (a) (b) O O (a) (b)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!