Homework 1
|
Overview - The purpose of the first homework is to review Chapter 2 concepts and practice and Python programming skills needed throughout the course.
Increase the number of squares from 2 to 5, cleaning all squares.
The agent should only sense and act on the square where it is located.
Allow any starting square.
Use run(20) to test and display results.
Hint: Maintain state of agent direction (i.e. Right or Left) or add direction to information sensed from the environment.
Increase the number of squares from 2 to 5, cleaning all squares.
The agent should only sense and act on the square where it is located.
Allow any starting square.
Use run(20) to test and display results.
Hint: Maintain state of agent direction (i.e. Right or Left) or add direction to information sensed from the environment.