[Solved] C Programming Language #Project – 5 The Word Hunter Game

Click And Check all our Assignments
Click Here and Upload you Assignment for Free!

INSTANT DOWNLOAD!

100/100 Trustscore on scamadviser.com

10 USD $

Category: Tag:

The word hunter game typically consists of scrambled letters in a grid in which player seeks for hidden meaningful words. Hidden words are placed vertically, horizontally or diagonally. They may overlap but cannot be in zigzag form or wrap around. Your task is to create a word hunter puzzle and let the player play the game.

This is a 6×6 puzzle. There are 4 words hidden in this puzzle. That are:

  • “hello” [4,0] & [4,4] “world” [1,0] & [5,4]
  • “great” [0,0] & [0,4]
  • “random” [5,5] & [0,5]

Puzzle Map: Puzzle map is a 15×15 grid where each cell contains a character. To build a puzzle map, you must do the followings:

  1. Fill the whole map with randomly assigned characters. To do so, use a function that simply returns a random character without taking any input.
  1. Words and their locations are stored in a file called

“word_hunter.dat”. The given piece of code reads the file and stores the words in a pointer array called “dict”. Coordinates of each word is also stored in an array called “coordinates”. Size of coordinates is 15×4 which are starting [x1, y1] and ending positions [x2, y2] of a word. You must place the words in dictionary on puzzle based on coordinates.

Gameplay: At the beginning of the game, puzzle is printed on the screen. All characters are lowercase. Then, program asks for a word and a coordinate (r=row, c=column). The coordinate can be either the beginning or the end of a word. Thus, program must search for all 8 directions (e.g., north, north-east, east, south-east etc.) as soon as player enters a guess (word). If guess of player is true, corresponding word on map must be converted to uppercase. Otherwise, there is no change on the map.

Termination Conditions:

  1. Player finds all the words in the puzzle. 2. Player types “exit game”.

Page 1 of 2

Page 2 of 2

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] C Programming Language #Project – 5 The Word Hunter Game
10 USD $