#Please someone help me
6 messages · Page 1 of 1 (latest)
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?
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;