- 64 Views
- Uploaded on
- Presentation posted in: General

Random Snake

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Random Snake

Harrison Tsai

- Uses probability to determine its next step
- Probabilities can be manipulated to change behavior (e.g. with “sticking probability”, snake tends to go in the direction with higher probability)
- Used periodic boundaries
- Snake originated in arcades in the late 70s and became the standard pre-loaded game on Nokia phones in 1998
- Noticeable differences: constant size and no penalty for overlap. This is to keep the movie at a constant 200 frames and preserves randomness

- random_snake.m
- advance.m
- place_body.m
- pure_probability.m
- straight_sense.m
- quadrant_quest.m