update game logical of line