[quote:1qfanoxy]Pick sprite (currently a question mark picture) by instance variable = creature count => Replace with sprite of current creature
Pick "answer" text (currently a question mark) by instance variable = creature count => Replace it with Answer.Text
Pick "score" text (currently a question mark) by instance variable = creature count => Replace it with "HostAnswerList.get(Answer.Text)-1"
[quote:1qfanoxy]Do you think I can do something along those lines ?
Yup, that should work too. (I'm just too much of a fan of Dictionaries to not propose them).
_____________________________________
[quote:1qfanoxy]So far, empty answer = you don't send anything to host
Ah ok, if you included that already, then you won't have to worry about it.
___________________________________
[quote:1qfanoxy]Also, I notice a little problem with the way the scoring system works now : if someone always answer the same thing, like "ZZZZZ" for example, even if it is nonsense, it will add 1 to "ZZZZZ" value every round. So this player would score round number-1 every round. I should find a way to prevent previous rounds to influence later ones.
Well, we both know that we need a way to differentiate between answers given in different rounds.
The way I'd probably go (because I find 3d-Arrays too tedious to use, though they are very powerful), is to include the "round" number in the actual answer.
So for example, the dictionary-entry for the first answer could look like this:
· Key: "1" / · Value: "1//[answer]"
The second answer would look like this:
· Key: "2" / · Value: "2//[answer]"
Now you can see which answer comes from which round.
Of course, you will need to extract the plain answer from the key.
If you know, that the number of rounds will never] go above 9, you simply use "left(3,length([string]))".
Otherwise, you will have to use regex. (RegexMatchAt([string],"\d\/{2}([\d\D]+)","",0)
__
Or, you can learn 3d-arrays. :D