blob: d5c37c6276370b89c53361a08eec5ce84450c3e1 (
about) (
plain)
1
2
3
4
5
6
7
8
9
|
\section{Look ahead}
By now you’re probably itching to try out some of your own ideas about how to
make a good bot. Now’s a great time to take a break from following my detailed
instructions and just play around with some ideas.
Here’s an idea to get you started: our \texttt{random\_avoid\_bot} only looked
one square ahead, try making a bot which looks two squares ahead and chooses the
direction with the most free space.
|