Snake game made using JavaScript (native)