Javascript snake game based on a HTML table (proof-of-concept project)