From: Scott P. <sc...@re...> - 2011-03-24 15:42:23
|
Would there be any way for me to implement a random element into a game supported by Rails? I'm thinking I would like to have the last Private Company be a randomly selected 20% share. Could Rails have a function that first determines whether this company has been determined and if not, select one at random? I know Rails plays out the game each time a save is loaded, so perhaps it would not be able to deal with this. One of my main design goals for my prototype is to implement it in Rails, so I don't want to introduce something that is impossible to implement given the Rails architecture. I will manually select this for playtesting via the XML files. |