RPG City Search question
Has anyone here ever written code for an RPG that invloves some sort of search?
Specifically what I am trying to do is write code that will give a player 250 "search moves" per day and allow them the chance of finding money, an object, or nothing. I would like to randomize the money found to $5, $10, $15, or $20, and the objects to 1, 2, or 3.
I've been searching for tutorials or examples but keep coming up short. Any guidance is appreciated.
|