diff --git a/getting_started/step_by_step/your_first_game.rst b/getting_started/step_by_step/your_first_game.rst index 93216259f..d025f74bb 100644 --- a/getting_started/step_by_step/your_first_game.rst +++ b/getting_started/step_by_step/your_first_game.rst @@ -634,7 +634,7 @@ choose one of the three animation types: First, we get the list of animation names from the AnimatedSprite's ``frames`` property. This returns an Array containing all three animation names: -``["walk", "swim", "fly]``. +``["walk", "swim", "fly"]``. We then need to pick a random number between ``0`` and ``2`` to select one of these names from the list (array indices start at ``0``). ``randi() % n`` selects a