()
| 49 | ReleaseKey(S) |
| 50 | |
| 51 | def left(): |
| 52 | if random.randrange(0,3) == 1: |
| 53 | PressKey(W) |
| 54 | else: |
| 55 | ReleaseKey(W) |
| 56 | PressKey(A) |
| 57 | ReleaseKey(S) |
| 58 | ReleaseKey(D) |
| 59 | #ReleaseKey(S) |
| 60 | |
| 61 | def right(): |
| 62 | if random.randrange(0,3) == 1: |
no test coverage detected