GithubHelp home page GithubHelp logo

shareeff / schema-games Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vicariousinc/schema-games

0.0 1.0 0.0 68 KB

General Game Playing with Schema Networks

Home Page: https://www.vicarious.com/general-game-playing-with-schema-networks.html

License: MIT License

Python 100.00%

schema-games's Introduction

Breakout Environments from Schema Network ICML '17 Paper

This repository contains the Breakout environments used to evaluate Schema Networks against A3C and Progressive Networks, as described in our ICML '17 paper.

How to play

Clone the repository:

git clone https://github.com/vicariousinc/schema_games.git schema_games

Install (setting up a virtual environment beforehand is recommended):

cd schema_games
pip install -r requirements.txt

You may then play games in interactive mode:

python schema_games/breakout/play.py StandardBreakout
python schema_games/breakout/play.py MiddleWallBreakout
python schema_games/breakout/play.py HalfNegativeBreakout
python schema_games/breakout/play.py OffsetPaddleBreakout
python schema_games/breakout/play.py RandomTargetBreakout
python schema_games/breakout/play.py JugglingBreakout
python schema_games/breakout/play.py MovingObstaclesBreakout

Breakout Variations

Breakout variations

a) Standard Breakout

Control the paddle to move left and right. Get points when the ball hits a brick. Lose points when the ball goes below the paddle.

python schema_games/breakout/play.py StandardBreakout

b) Middle Wall Breakout

When the ball hits the wall in the middle, it rebounds. To hit bricks, the wall must be avoided.

python schema_games/breakout/play.py MiddleWallBreakout

c) Half Negative Breakout

The yellow bricks give negative points when struck by the ball.

python schema_games/breakout/play.py HalfNegativeBreakout

d) Offset Paddle Breakout

The paddle is slightly raised with respect to the standard version.

python schema_games/breakout/play.py OffsetPaddleBreakout

e) Random Target Breakout

The block of bricks randomly moves every time it is struck by the ball.

python schema_games/breakout/play.py RandomTargetBreakout

f) Juggling Breakout

There are three balls and no bricks. The maximum possible score is zero.

python schema_games/breakout/play.py JugglingBreakout

References

schema-games's People

Watchers

Shareef Ifthekhar 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.