Implement piece activity and move-piece FEN manipulation function.