Replacement of pieces works

Game basically plays as before without detecting endgame