Coder Social home page Coder Social logo

bubbleball's Introduction

Bubble ball code Description

This is a code implementation of our hierarchical algorithm in Learning How to Solve “Bubble Ball”.

Website

Tips

  • To use 2 python scripts for public, you can go to the 'BubbleBall Challenge' repository.
  • This is for actual implementation to play this game.
  • To test my code, you should have bubble-ball execution file of Linux version from Nay Games.
  • It includes a python package named functions and main.py in the bubble-ball-ubuntu-18.04-x86 directory.

Prerequisite

  • Required to have automate.json, movableObjects.json, bb.log, movableObjects.json, levels directory in the same folder as this code. (Usually, the directory name is bubble-ball-ubuntu-18.04-x86-64-x.x (I cannot upload this here.))
  • You should have a bubble-ball game execution file in the same folder.

How to use

  • You can decide on the level what you want in the main.py.
  1. Locate the functions/ and main.py in the bubble-ball-ubuntu-18.04-x86 directory.
  2. main.py can import any module from functions package.
  3. If you wanna check each function module such as local_region algorithm, you can run it separately.

Structure

main.py
functions
│   localregion.py
│   log2matrix.py
│   parsing_movableobjects_levels.py
│   path_planning.py
│   utils.py
│
└───physics
│   │   obj_class.py
│   │   simple_models.py
│   │
│   └───common
│       │   const.py 
│
└───planning_algo
    │   prm.py
    │   utils.py

bubbleball's People

Contributors

hotae319 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.