working b functionality, able to move player win and restart the game via buttons.