Skip to content

Commit 5b68f3d

Browse files
jolly-jumplordmauve
authored andcommitted
typos and walls() -> pipes() typos
1 parent 46a889f commit 5b68f3d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/from-scratch.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ input or redrawing the screen. Loop forever and the game would just sit there,
106106
so any loops need to finish quickly.
107107

108108
Pygame Zero calls an ``update()`` function when it wants you to update the
109-
animation by one step, so we just need to a call to ``update_walls()``::
109+
animation by one step, so we just need to add a call to ``update_pipes()``::
110110

111111
def update():
112-
update_walls()
112+
update_pipes()
113113

114114

115115
The Bird
@@ -192,7 +192,7 @@ react when the bird moves back to its start position.
192192
Again, this needs to be called every frame, so we add it to ``update()``::
193193

194194
def update():
195-
update_walls()
195+
update_pipes()
196196
update_bird()
197197

198198
The final part of the bird logic is that it has to respond to player control.

0 commit comments

Comments
 (0)