0

hmwk assistance

Hero's 3.0 textbased game 1. Include a short story about th e Hero for the player to read. //I have the story, but how do I include it into code?// . 2. Call a function to display the inventory . How? 4. Create pointers. How? 5. Create references How? . 6. Create a Hero object How? . 7. Create a health level for the Hero How? . 8.Announce the Hero andhis/her health level How? V/r, EJ

30th Jun 2016, 2:30 PM
Elgia Johnson
Elgia Johnson - avatar
6 Réponses
+ 1
Why would you make someone else do your homework? Isn't that defeating the purpose of homework? This homework is not that difficult and it's presented in form of game programming in order to motivate. Just pls do it and become a better programmer. If you have specific questions pls ask but not for a complete homework assignment.
30th Jun 2016, 4:32 PM
Stefan
Stefan - avatar
0
I have to say I agree with Stefan, but I definitely think you should take the time to go through the course here, trust me, if you get through it, the above project is going to be very simple.
30th Jun 2016, 5:21 PM
Micah Chaffin
Micah Chaffin - avatar
0
Jop, I agree Micah. After the course this will be easy. Also, if this is really homework then that means you are already having a course. Hope it's a good one.
30th Jun 2016, 5:57 PM
Stefan
Stefan - avatar
0
cool I will have fun then, thanks ;)
30th Jun 2016, 9:42 PM
Elgia Johnson
Elgia Johnson - avatar
0
If you want to create a game, firstly u need two functions. One function to initialize the game and Second is the function which gets updated every frame per second. Also u need a time function which has to be multiplied with every object so that the frames are synchronized with real time and not with PC performance. My suggestion, use a game engine to create the game. Its easy to use and u can make the game better.
2nd Jul 2016, 4:05 PM
Satan 666
Satan 666 - avatar
0
Satan 666 I have to disagree. The exercise explicitly states that this is a text adventure in the very first line. Text adventures typically do not need continuous updates and therefore the timing stuff is also not needed.
2nd Jul 2016, 6:02 PM
Stefan
Stefan - avatar