[REQUEST] "Randomize" Behavior / Plugin for Card Games

Post your work in progress addons and get feedback

Post » Thu Jan 21, 2016 7:25 am

Hello,

I've searched the forums for "randomize," "random selection," and "random value generator," but received no matches.

If there isn't already a randomize behavior or plugin, could someone please create one as an add-on to C2?

Example:

Once you have set every playing card with some sort of flag or variable that designates them as a certain types of card, then, when a button is pressed, the System randomly selects one or more cards from among other cards of the same type, for placement into the Player's Hand (or, other container).

Thank you!
Check out "Extraordinary!" the Superhero Card Game: www.armchairadventuring.com
B
14
S
2
Posts: 35
Reputation: 1,323

Post » Thu Jan 21, 2016 7:45 am

Search "random" in this page.
B
108
S
26
G
271
Posts: 4,471
Reputation: 151,777

Post » Sun Mar 06, 2016 7:12 am

Well I use php shuffle function to give me shuffled cards .. that eliminates possibility of being tricked in game thru hacks...
Image
B
51
S
12
G
1
Posts: 255
Reputation: 4,483


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 1 guest