#!/usr/bin/env python #!C:\Python24\python.exe #! import random min = 1 max = 100 choice = input("1. Singeplayer \n2. Multiplayer\n") if choice == 1: while 1: #as 1 wil never be None, loop infinetly print "You role " random.seed() i = 0 while(i<1): print random.randint(min, max) i+=1 print "On the dice!" choice = input ("1. Play again \n2. Exit\n") if not choice ==1: break elif choice == 2: print "To be able to play the multiplayer game buy it"