Improved default player naming alg
This commit is contained in:
parent
dacb3b893b
commit
0635ab50f9
35
main.py
35
main.py
|
@ -22,25 +22,26 @@ def name_gen():
|
||||||
"kind", "lively", "logical", "lovely", "loyal", "lucky", "mature",
|
"kind", "lively", "logical", "lovely", "loyal", "lucky", "mature",
|
||||||
"mindful", "modest",
|
"mindful", "modest",
|
||||||
]
|
]
|
||||||
nouns = [
|
animals = [
|
||||||
"Cello", "Badger", "Fish", "Apple", "Mountain", "River", "Teacher",
|
"aardvark", "albatross", "alligator", "alpaca", "ant", "anteater",
|
||||||
"Book", "Car", "Tree", "Dog", "House", "Chair", "Phone", "Computer",
|
"antelope", "ape", "armadillo", "baboon", "badger", "barracuda", "bat",
|
||||||
"City", "Ocean", "Guitar", "Desk", "Flower", "Star", "Sky", "Window",
|
"bear", "beaver", "bee", "beetle", "bison", "boar",
|
||||||
"Road", "Train", "Plane", "School", "Garden", "Table", "Bottle",
|
"bobcat", "buffalo", "butterfly", "camel", "canary", "capybara",
|
||||||
"Shirt", "Door", "Bridge", "Watch", "Camera", "Bag", "Pencil", "Cup",
|
"caracal", "caribou", "cassowary", "cat", "caterpillar", "cattle",
|
||||||
"Hat", "Wall", "Cloud", "Island", "Forest", "Room", "Engine", "Shoe",
|
"chameleon", "cheetah", "chicken", "chimpanzee", "chinchilla", "cobra",
|
||||||
"Candle", "Bed", "Lamp", "Mirror", "Clock", "Keyboard", "Mouse",
|
"cockatoo", "cougar", "cow", "coyote", "crab", "crane", "crocodile",
|
||||||
"Blanket", "Pillow", "Soap", "Towel", "Toothbrush", "Backpack",
|
"crow", "deer", "dingo", "dog", "dolphin", "donkey", "dove",
|
||||||
"Basket", "Fan", "Television", "Magazine", "Newspaper", "Statue",
|
"dragonfly", "duck", "eagle", "echidna", "eel", "elephant", "elk",
|
||||||
"Painting", "Ladder", "Fence", "Rope", "Ball", "Drum", "Violin",
|
"emu", "falcon", "ferret", "finch", "firefly", "fish", "flamingo",
|
||||||
"Microphone", "Box", "Shelf", "Ring", "Necklace", "Coin", "Wallet",
|
"fly", "fox", "frog", "gazelle", "gecko", "giraffe", "goat", "goldfish",
|
||||||
"Purse", "Ticket", "Key", "Lock", "Brush", "Comb", "Notebook",
|
"goose", "gorilla", "grasshopper", "pig", "gull", "hamster",
|
||||||
"Envelope", "Stamp", "Hammer", "Screwdriver", "Nail", "Saw", "Plank",
|
"hare", "hawk", "hedgehog", "hippopotamus", "horse",
|
||||||
"Brick", "Tile", "Carpet", "Curtain", "Apron", "Oven", "Refrigerator",
|
"hummingbird", "hyena", "iguana", "jackal", "jaguar",
|
||||||
"Blender", "Pot", "Pan",
|
"jellyfish", "kangaroo", "kingfisher", "koala", "lemur",
|
||||||
|
"leopard", "lion", "lizard", "llama",
|
||||||
]
|
]
|
||||||
|
|
||||||
return random.choice(adjectives).capitalize() + random.choice(nouns)
|
return random.choice(adjectives).capitalize() + random.choice(animals).capitalize()
|
||||||
|
|
||||||
def server(host: str='', port: int=7788):
|
def server(host: str='', port: int=7788):
|
||||||
from library import Library
|
from library import Library
|
||||||
|
|
Loading…
Reference in New Issue