CSE102 – Computer Programming with C Assignment #7 (Solution)

$ 24.99
Category:

Description

You can email cemayar@gtu.edu.tr if you have any questions.

Homework Description: Word Puzzle

7×7 Example board Example Founded Words:
Meal [0,0] -> [0,3]
Scene [4,4] -> [4,0]
Row [3,2] – > [1,1]

Part 2 (Game Part):
• The player should enter the first coordinates of a word and word that the player found.

• The player can terminate the game by writing the “:q” command, three mistakes, or finding all the words. If the game is terminated, you need to write the total points that the player got.

• A common strategy for finding all the words is to go through the puzzle left to right (or right to left) and look for the word’s first letter. After finding the letter, one should look at the eight surrounding letters to see whether the following letter of the word is there. One can then continue this method until the entire word is found.
General Rules:
Obey the style guidelines.
Do not change the provided function prototypes (you will not get any credits).
Your program should work as expected. Do not expect partial credit if your code works only in some cases but not in all cases as expected.
You can ask your questions about the homework by posting on the forum in Teams. Handing in your work:
Pack this directory into a zip file named 20180000001_X_Z.zip
When unpacked as above in Ubuntu (version provided in class) it should allow executing the following commands in a shell:
▪ “$make clean” removes everything except makefile, source code (.c ) and other resource files (if any) – all compiling results and intermediate files should be removed.
▪ “$make compile” should compile the code.

▪ “$make run” should run the code along with any parameters needed.

Reviews

There are no reviews yet.

Be the first to review “CSE102 – Computer Programming with C Assignment #7 (Solution)”

Your email address will not be published. Required fields are marked *