Skip to content

Commit d98802a

Browse files
committed
clean up the boids area - use the docstrings instead of separate .msg files
1 parent c27b2a3 commit d98802a

34 files changed

+47
-97
lines changed

notebooks/tps/boids/.teacher/boids-01.msg

Lines changed: 0 additions & 2 deletions
This file was deleted.

notebooks/tps/boids/.teacher/boids-02.msg

Lines changed: 0 additions & 2 deletions
This file was deleted.

notebooks/tps/boids/.teacher/boids-02.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
display a single object, inert, at (100, 100)
2+
Window has a self.boids instead of a self.boid
33
"""
44

55
import arcade

notebooks/tps/boids/.teacher/boids-03.msg

Lines changed: 0 additions & 2 deletions
This file was deleted.

notebooks/tps/boids/.teacher/boids-03.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
display a single object, inert, at (100, 100)
2+
class Boid: the boid moves at constant speed and heading
33
"""
44

55
import math

notebooks/tps/boids/.teacher/boids-04.msg

Lines changed: 0 additions & 4 deletions
This file was deleted.

notebooks/tps/boids/.teacher/boids-04.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""
2-
display a single object, inert, at (100, 100)
2+
wrap the board around the edges:
3+
when the boid gets out one side, it enters the other side
4+
also the boid's initial angle is -135
35
"""
46

57
import math

notebooks/tps/boids/.teacher/boids-05.msg

Lines changed: 0 additions & 2 deletions
This file was deleted.

notebooks/tps/boids/.teacher/boids-05.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
display a single object, inert, at (100, 100)
2+
add noise on the Boid's angle
33
"""
44

55
import math

notebooks/tps/boids/.teacher/boids-06.msg

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)