#0022 Logic implemented for no possible moves
#0022 No move possible done, integrated with UI