The function game_position_legal_moves seams to work. Full testing is needed.