Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is a C language programming question. I repeat. Its a C language programming question. i need the full coding for this assignment. pls help

This is a C language programming question. I repeat. Its a C language programming question. i need the full coding for this assignment. pls help me. You have to use graphics library for this question.

image text in transcribed
PROJECT DESCRIPTION: (COLOR & SHAPE MATCHING GAME] 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. OOO OOO (a) (b) Figure 1 (a) 2 by 3 grid, (b) circle objects in 2 by 3 grid. 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transport Operations

Authors: Allen Stuart

2nd Edition

978-0470115398, 0470115394

Students also viewed these Programming questions