- Python 100%
| chicken_numbers | ||
| .gitignore | ||
| README.md | ||
| SHEET.md | ||
Guide
General
How to upload
To upload your bot, make a new folder with your name in the folder of the respective game and put your bot in that folder. For example: chicken_numbers/oli4/super_cool_bot.py
The allowed formats are:
- python (.py)
- binary (x86 Linux)
How to Input/Output
Your code will receive all its input via Stdin and send all its output via Stdout. If you don't know what that is, in python this is achieved with the input() and print() functions respectively (take a look at the examples for each game).
Environment
Your code will not have access to the internet and run with limited permissions. I have not installed any python libraries; if you have a good reason to need one, message me and we can discuss adding it.
Make sure you flush your outputs (better safe than sorry).
In python this is achieved by print(xyz, flush=True).
Further Documentation
For a description of the games, head to the Sheet.
For the source code of the server and games, head to the Server.
If you want to propose an idea, be it a new game, or anything else, open an Issue with the "enhancement" label.
Guidelines
On the use of AI tools
We can't check whether you used AI to write your code, but we believe that it's both less fun for you and for others. For one, it makes the algorithms participating less diverse. It also wouldn't be your bot that's playing.
Looking at other people's bots.
Since the bots are all hosted in your respective subfolders of the game and there are no access controls, you could look at other people's bots. We do not allow looking at other people's code. If you need a bit of inspiration, look at the bots in the EXAMPLE folder for the specific game, where I (and possibly others) put bots, that you're allowed to look at and study.
Game Specific Information
chicken_numbers
There is a timeout of 500ms, if your bot ever takes longer to send its output, it is disqualified for the round and will be replaced by a bot that always plays 0.