a simple "snake game" script on R
Usage:
rsnake()
snake can be controlled by vi-style "hjkl" keys, or arrow keys.
You can plug in any "solver" function to control your snake. Let's battle with your solver functions! Whose function will get highest score?