A simple snake game controlled by entering commands (javascript and html)