Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Ok not so good at gaming code
This question is as i seen it playing it with daughter.
: Was wondering if you could write a program in C not C++,for a game my daughter wants that she found in school.
: I know you guys will have the abilty to do this if you have the time.
: (Not so good at tricky program like this)
: Its a small program that will play a game called find the hurkle.
: The game consists of trying to locate an object(the "HURKLE")within a grid of predetermined size.The program should generate two random numbers to represent co-ordinates on a 10 by 10 grid. The user should then be promted to find the coordinates of the hurkle(i.e. a row and column number).
: The messages, "HIT - You Found It !" or "Bad Luck - You Missed", Should be diplayed,depending upon the coordanates given by user. If the user misses,the program should give the user a clue as to the direction to try as their next guess, i.e. "UP", "DOWN","LEFT","RIGHT", or in combinations e.g."DOWN LEFT". The user should be allowed a maximum of te attempts to find the hurkle.