Pac Man game made with Vanila javascript