#Please someone help me

6 messages · Page 1 of 1 (latest)

marble forum
#

here's the relevant part in the section in the Instructions that describe how the game works

#

Fast attack: a fast attack can be made if the knight is sleeping, as it takes time for him to get his armor on, so he will be vulnerable.

#

you've got the function canFastAttack that takes one input knightIsAwake

#

if knightIsAwake is true, the knight is awake; if knightIsAwake is false, the knight is sleeping

#

so what kind of check could you write to see if a fast attack is possible?

copper dawnBOT
#

To make code easier for everyone to read (and to make you look like a pro), **please use a codeblock when sharing code.**For example, you can type the following:

```
for number in range(10):
total += number;
```
Discord will render that as so:

for number in range(10):
    total += number;

You can even get syntax highlighting by adding the language to the codeblock opening:
```python
for number in range(10):
total += number;
```
Discord will render that as so:

for number in range(10):
    total += number;