This was a computing Pacman project I had to do at school and I think it worked
Please NO ADVERTISING. If it's not working please let me know in the comments :)