Fixed a bug on board overflow, made some minor refactoring and added a pacman board