wrote some python. added some txt files
parent
45d3bfd059
commit
270f14d0c5
@ -0,0 +1,13 @@
|
|||||||
|
#This is a script that writes rules and instructions
|
||||||
|
#First it sets variables
|
||||||
|
import random
|
||||||
|
games = ["backgammon", "pokemon", "war"]
|
||||||
|
object = ["teammate", "card", "turn", "place", "board", "dice", "nice", "backgammon"]
|
||||||
|
verb = ["choose", "pick", "give", "burn", "cut"]
|
||||||
|
|
||||||
|
#Then it writes a title
|
||||||
|
print("How to play " + random.choice(games))
|
||||||
|
|
||||||
|
#Then it loops through instructions
|
||||||
|
for i in range(6):
|
||||||
|
print("Rule " + str(i+1) + ": "+ random.choice(verb) + " a " + random.choice(object))
|
Loading…
Reference in New Issue