game update
study graph algorithm