more decoupling from drawing and game logic added reset button update on piece styling