Project : Simple RPG
To download it for free (scroll down)
This simple RPG (role-playing game) is designed in object oriented programming language – C++. It determines all basic commands, functions, syntax, structures. Game starts randomly; whether the first attack can be from the user or the monster.User has to check the damage and hp in order to attack back and defeat the monster.There is no such graphics used in the game just some basic codes and commands are used for the development. This is a mini project for the beginners and the source code of this game is simple to understand and easy to operate by the users.
Hi!
I have a problem. My codeblock says that “time” “rand” and “srand” were not declared. I’m new in programing and i dont know what to do. I checked the language. I pasted it from notebook to codeblock cause i wanted to change it to polish and add to private folder to have it for later. Can somebody tell me whats wrong? If its codeblocks or compilator.
Language that i use is C++
My compilator is GNU GCC Compiler
I think you need to include the time.h library to make it work.