You are on page 1of 1

Subject: Initial Design Proposal

This memo is written to introduce the Engineering 111 assignment due November 5, 2015.

Title of the guessing game: Find The Jokers

Development tool: MATLAB

This guessing game will be coded in MATLAB. It is about finding 2 Joker cards in a stack of 55 playing
cards, which will be arranged in an array of 11 by 5. The player must guess the coordinates of the 2 Joker
cards within a certain number of guesses. Among the stack of cards exist two Blank cards. If the player
selects one of the two cards before he or she manages to find the 2 hidden jokers, the game will end
and the player will lost.

Several functions have to be developed for the game. These include functions that set the array of cards,
functions for hiding the Jokers and the Blank cards as well as functions responsible for processing the
player’s input to give the appropriate feedback. All of these functions will be created individually using
MATLAB’s script. All of the created functions will then be stored in the same folder. Among these codes
will be a file called “Main”, this will be the game itself. The purpose of this file is to call all of the
functions we saved in the same path and run the game smoothly.

There will also be a function in the game where different levels of difficulties can be set. The number of
guesses allowed for the player to use will be vary depending on the difficulty set the player chooses.

Upon loading the game, an array filled with zeroes is created and the Jokers and Blank cards are hidden
within the array at random. The Blank cards are assigned with value 7 and the Joker cards with the value
8. All other cards are assigned the value 9. Note that the zeroes displayed are not the actually assigned
values of the cards, but it is just an indication of an undiscovered spot, a coordinate that has not been
tried out yet. The actual assigned values are hidden within.

The player will be prompted to insert a coordinate for the given array in which it will be referred to by a
function that will reveal the assigned value of the element.

You might also like