add some methods to pl

propose that the player act through out class act functions
player.action(function)

correct some errors