hi, guys i am creating a game that consist of 3 enemies and one player. i want to create a battle function were the player starts with a 100 points and each enemies 50. i got the function created but i cant seem to get the player fight with each enemy. the funtion is only fighting with the first enemy until death i would like it to fight with each enemy, each time deducting a random num from a 100 (the players health). i am using c

Member Avatar for Search_not

Post an example of your code and we'll have a look at it...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.