control Flashcards

(7 cards)

1
Q

repeat (10)

A

repeat (10)
{
action
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

repeat while (variable is true

A

while (variable = ___)
{
action
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

if <condition> then</condition>

A

if (condition)
{
action
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

if <condition> then else</condition>

A

if (condition)
{

}
else
{

}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

stop [all v]

A

game_end()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

when I start as a clone

A

// Custom handler on clone creation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

delete this clone

A

instance_destroy()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly