Command lind interactive game in python