There's various algorithms for poker. Sorry, I can't help beyond decoding the cards, as in the given function. Either Goggle "poker algorithm code" or maybe someone else has done this already.
Sort them how?
http://www.blackhornettechnologies.com/Construct2Stuff/Shuffle_BHT.capx
With Smart Random and a decoding function to convert the numbers 1 to 52 to your CiS format.
It's hard to tell what's going on in a screen shot. Can you post what you have so far?
Yes, you need to pull the values out one by one into your own array.
I don't have a card example, but you don't input the values, it will generate them for you. Give a range of 1 to 52, for example, and decode the cards from there. Or, use it four times for each suit from 1 to 13.
http://www.blackhornettechnologies.com/Construct2Stuff/Test_send%20instance_BHT.capx
You can't bury an 'Every X seconds' inside a function. The function is only called once. That event will never be seen again. Also you are using a global variable to trigger the movement. You need an instance variable to set the target flag on just the one object at a time. This should be closer to what you want, if not exactly what you asked for.
Develop games in your browser. Powerful, performant & highly capable.
http://www.blackhornettechnologies.com/Construct2Stuff/SmartRandomBaseAndRange.capx
Use the array as an offset from your base number, using the array as a range.
If your base=12, your range is 6 (or +/-3), X=Base + RND - Range/2, or 12 + RND - 3, where RND is a number between 0 and 5.
You can use this to get an array of unique numbers:
Usually a Mime issue: https://www.scirra.com/manual/168/mime-types
The monthly subscription is for Educational use only.
No, AsJSON just converts it to a string, so you just save it in LocalStorage as text. Then you load that text back in and Load it.
https://www.scirra.com/manual/188/local-storage
On all key names loaded
Triggered after the Get all key names action completes. In this trigger the KeyCount and KeyAt expressions give the list of all the key names.
I'd recommend using a dictionary for this kind of thing. Then there is only one object to load, and you can iterate over the keys in a similar manor.
https://www.scirra.com/manual/124/system-conditions
System:Is on mobile device