diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-13 21:51:17 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-13 21:51:17 (GMT) |
| commit | 39d87830558540fefad1d4dd24a14f273bd4d5a7 (patch) | |
| tree | 3a313419861c91ce19b47f9c6e865b55af160077 /wasp/apps/snake.py | |
| parent | f7ef1654339b05989f0cdfc9ff5ab78ca03300b6 (diff) | |
simulator: test_qa: Add some basic docstring tests
This one picked up a lot of inconsistancy so the changes here are pretty
big.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/apps/snake.py')
| -rw-r--r-- | wasp/apps/snake.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/wasp/apps/snake.py b/wasp/apps/snake.py index e1a853a..fc00138 100644 --- a/wasp/apps/snake.py +++ b/wasp/apps/snake.py @@ -1,9 +1,8 @@ # SPDX-License-Identifier: LGPL-3.0-or-later # Copyright (C) 2020 Johannes Wache -""" -Snake Game -~~~~~~~~~~ +"""Snake Game +~~~~~~~~~~~~~ This is a classic arcade game called snake. @@ -174,4 +173,3 @@ class Snake(): draw = wasp.watch.drawable draw.fill(x=self.oldtail[0],y=self.oldtail[1],w=15,h=15,bg=0x0000) draw.fill(x=self.body[-1][0]+1,y=self.body[-1][1]+1,w=13,h=13,bg=0xffff) - |
