reset password
Author Message
MariahM
Posts: 35
Posted 12:15 Oct 23, 2015 |

Since we do not want the balls to stop when they reach the bottom or top, does this mean that we are no longer passing at-bottom? when we call my-animate?

Im assuming that we need to replace at-bottom? with another function that determines whether they are at the top or bottom and then changes their velocity? Is that correct?

 

rabbott
Posts: 1649
Posted 19:23 Oct 23, 2015 |

For the exercise in which they reverse direction but don't stop, don't worry about a stopping condition -- or have the stopping function always return #f. A later exercise asks you to stop after 3 round trips.