a base implementation of a ozai bot. Can easily be extended with new filters.
Go to file
Adrian Gunnar Lauterer 06eaba6d79 moved into library, added readme information and better docs 2024-06-22 20:36:10 +02:00
.gitignore minor improvements 2024-04-07 00:34:08 +02:00
LICENSE Initial commit 2024-04-06 22:11:46 +02:00
README.md moved into library, added readme information and better docs 2024-06-22 20:36:10 +02:00
ozai_bot.py moved into library, added readme information and better docs 2024-06-22 20:36:10 +02:00
ozai_lib.py moved into library, added readme information and better docs 2024-06-22 20:36:10 +02:00

README.md

ozai-bot

A base implementation of a ozai bot.

Can easily be extended with new filters.

If you are new here. the only thing you need to make a new bot is to create a new filter function, that returns true if any given move to it seems like a bad move. All the possible moves are generated, and passed trough the filter, and any found to not be deemed bad, will be tried at random. If no valid moves are left after filtering, a complete random move will be done.

the main thing to do if you want to make your own bot is to make your own filter function in the ozai_bot.py, and add it to the last if else ladder for filter functions to select from.

To know how to run the bot run this command

python ozai_bot.py --help 

The ozai_lib.py is the library function. You probably do not need to interface with it other than if you want to use its logic to build your completely own bot withoul doing all the gameserver interface work yourself, or if you want to know what to use when making a filter.