Download src/main.py from ericbotti/chameleon: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/ericbotti/chameleon/resolve/main/src/main.py
- Command line
-
hf download hf://spaces/ericbotti/chameleon/src/main.py
-
curl -L -o main.py https://huggingface.co/spaces/ericbotti/chameleon/resolve/main/src/main.py
282 Bytes
| from game_chameleon import ChameleonGame | |
| from player import Player | |
| def main(): | |
| print("Please Enter your name, or leave blank to run an AI only game") | |
| name = input() | |
| game = ChameleonGame.from_human_name(name) | |
| game.run_game() | |
| if __name__ == "__main__": | |
| main() |