In this assignment, you will create a simple 2D game using Processing. Let’s call the game” Find a word”.

computer science

Description

INSTRUCTIONS 

In this assignment, you will create a simple 2D game using Processing. Let’s call the game” Find a word”. It is a simple word guessing game. The computer first selects a secret word at random from the provided list of words. The program then draws a row of rectangles- one for each letter in the word and ask the player to guess. The number of chances to guess the word is provided by the program. If the player guesses a letter that is in the word, then all instances of that letter are shown in the correct positions in respective rectangles on the screen. If the letter is not in the word, the player is charged with an incorrect guess.


The player keeps guessing the letter until either (1) player has correctly guessed all the letters or (2) ran out of the number of chances provided to guess.


Two sample runs of the game are provided on the iLearn. It’s recommended to watch the videos before the attempt




Related Questions in computer science category