Git Product home page Git Product logo

bomberman-ai's Introduction

iia-ia-bomberman

Bomberman clone for AI teaching

Demo

Description

This project is a product of the practical assignement of one of our classes: Artifical Intelligence and the main idea behind it is to implement an ai agent (using a* search algorithm) to win the bomberman game.

How to install

Make sure you are running Python 3.5.

$ pip install -r requirements.txt

Tip: you might want to create a virtualenv first

How to play

open 3 terminals:

$ python3 server.py

$ python3 viewer.py

$ python3 client.py

to play using the sample client make sure the client pygame hidden window has focus

Keys

Directions: arrows

A: 'a' - detonates (only after picking up the detonator powerup)

B: 'b' - drops bomb

Debug Installation

Make sure pygame is properly installed:

python -m pygame.examples.aliens

Tested on:

  • Ubuntu 18.04
  • OSX 10.14.6
  • Windows 10.0.18362

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

bomberman-ai's People

Contributors

vascoalramos avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.