Skip to content

Commit

Permalink
fix: Update worksheet 2 starter code to contain task 1 (#1599)
Browse files Browse the repository at this point in the history
* fix: Update worksheet 2 starter code to contain task 1
  • Loading branch information
faucomte97 committed Jan 12, 2022
1 parent 8864b3f commit 999f76f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion aimmo/worksheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ def next_turn(world_state, avatar_state):
starter_code="""
#-------------------------------------------------------------------------------
# Worksheet 2 challenges:
# Task 1: Pick up an artefact
# Task 1: Avoiding obstacles
# - Change the code so that your avatar tries a different direction if
# they are unable to move. To avoid repeating code, create a subroutine
# called get_random_dir() and use it to return a random direction.
#
# Task 2: Pick up an artefact
# - Pick up any artefacts you find on the board. If the location you are
# in contains an artefact, you can pick it up by returning a
# PickupAction() instead of a MoveAction(DIRECTION).
Expand Down

0 comments on commit 999f76f

Please sign in to comment.