1 / 3

Random Snake - PowerPoint PPT Presentation

Random Snake. Harrison Tsai. Random Walks, DLA. 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

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about ' Random Snake' - carina

An Image/Link below is provided (as is) to download presentation

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 - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

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

Run my code with: Matlab command line>> random_snake

• random_snake.m

• advance.m

• place_body.m

• pure_probability.m

• straight_sense.m

• quadrant_quest.m