Hey guys,
I am trying to create a section of a game (basically good vs evil) where a person chooses a button which is either red or blue. I want the outcome of the button pressed to be determined by the date. example, if the red is pressed on an even day the result is good, but if it is an odd day, then the result will be evil. I would also like to add an extra result on a day which is a prime number the result will be an neutral person with extra powers. I hope that explains what I want to do, what I need help with is how to compare the dates, can I use a date format or is there a way to use julian dates in b4a. Thanks for any help in advance.
Don
I am trying to create a section of a game (basically good vs evil) where a person chooses a button which is either red or blue. I want the outcome of the button pressed to be determined by the date. example, if the red is pressed on an even day the result is good, but if it is an odd day, then the result will be evil. I would also like to add an extra result on a day which is a prime number the result will be an neutral person with extra powers. I hope that explains what I want to do, what I need help with is how to compare the dates, can I use a date format or is there a way to use julian dates in b4a. Thanks for any help in advance.
Don