Skip to content

Commit

Permalink
Merge pull request #8 from yaacov/move-comment
Browse files Browse the repository at this point in the history
Move comment
  • Loading branch information
yaacov authored Jan 25, 2024
2 parents 27087a4 + f583498 commit 35b88e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def generate_obstacle_array():

for i in range(4):
obstacle = random.choice(list(OBSTACLE_TO_INDEX.keys()))
# lane A
position = random.randint(0, 2)
# lane A
array[i][position] = obstacle
# lane B
array[i][3 + position] = obstacle
Expand Down

0 comments on commit 35b88e6

Please sign in to comment.