Skip to content

Commit

Permalink
Fix typo 'the the' in introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
lordmauve committed May 6, 2019
1 parent a3aabc9 commit 31068aa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Let's set the alien off-screen; change the ``alien.pos`` line to read::
alien.topright = 0, 10

Note how you can assign to ``topright`` to move the alien actor by its
top-right corner. If the right-hand edge of the alien is at ``0``, the the
top-right corner. If the right-hand edge of the alien is at ``0``, the
alien is just offscreen to the left. Now let's make it move. Add the following
code to the bottom of the file::

Expand All @@ -134,8 +134,9 @@ alien a small number of pixels every frame will cause it to slide across the
screen. Once it slides off the right-hand side of the screen, we reset it back
to the left.

Your functions ``draw()`` and ``update()`` work in similar ways but are designed for two different purposes.
The ``draw()`` function draws the current position of the alien while the ``update()`` function is used to show the alien
Your functions ``draw()`` and ``update()`` work in similar ways but are
designed for two different purposes. The ``draw()`` function draws the current
position of the alien while the ``update()`` function is used to show the alien
moving on the screen.


Expand Down

0 comments on commit 31068aa

Please sign in to comment.