generate_move updated

Signed-off-by: John Liu <johnnnpl@gmail.com>