rolled back all the turning into webpage code
collision detection, board reset