modifying puzzle controller with the score