Skip to content

42-AI/ExplosiveAI

 
 

Repository files navigation

Explosive AI

Bob Agent Demo

This is a client to control a player in a BomberBuddy game. The purpose is to have a competition where AI agents and algorithms try to blow each other up! However this project is in beta and probably has some bugs so please raise an issue or send me a message on the 42 slack (jbarment or ldevelle).



How it works

Requirements

You need to have Python 3.8, if not ask google how to get it.

Clone the repo

git clone https://github.com/42-AI/ExplosiveAI.git
cd ExplosiveAI

Install some dependencies

python3.8 -m pip install --upgrade pip
python3.8 -m pip install build

Download the game

First you need to download the game

Google-Drive folder with all the versions: [https://drive.google.com/drive/folders/1kj8vKwkhwvW7axFQb2WgCxjInvUP-KRc?usp=sharing](https://drive.google.com/drive/folders/1kj8vKwkhwvW7axFQb2WgCxjInvUP-KRc?usp=sharing)

Then you need to extract it under the directory simulator in this project directory. So that the structure looks like this

ExplosiveAI
└── simulator
    └── build
        ├── bomber_Data
        ├── bomber.x86_64
        ├── LinuxPlayer_s.debug
        ├── UnityPlayer_s.debug
        └── UnityPlayer.so

Finnaly you can had the executable rights

chmod +x simulator/build/bomber.x86_64

Install the Package

If you already installed the package you may want to start by running:

pip uninstall bomberman 

You may now build the wheel (the type of file that pip uses to install a package)

python3.8 -m build 

You may now install our beautiful package

python3.8 -m pip install dist/bomberman-0.1.0-py3-none-any.whl

FIGHT !

You can now start the game and run fight.py with python3.

python3.8 fight.py

The code to NoSuicide/Agent.py contains what you need to know to start building an agent.


How you can help ?

You can help by reporting bugs or suggesting features / improvements.

Don't be shy to say something looks wierd or stupid or to ask for stuff.

If you want to help dev on the project contact us at [email protected].


Thanks

Thank you for participating in the beta of this project and helping 42AI organize cool competitions in the school

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.7%
  • Shell 11.3%