Code Monkey home page Code Monkey logo

untouchablethunder's People

Contributors

aadharna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

untouchablethunder's Issues

Neural Net Input format

I read related paper:
https://arxiv.org/pdf/2007.08497.pdf

If I understand correctly, it is mentioned that you use a group of 13 maps (9x13 each) to encode the entire game state, each map encoding one object type.
So I was curious if you tried with one single 9x13 map instead and setting different pixel color values for the different object types. If so what was the performance difference or issues which such an approach as opposed to have one map per object type?

Discussion

This is a place for Mike and Aaron to talk about code.

Important files are:

class Agent:
"""
Wrap each env with a game-playing agent
"""
def __init__(self, GG, max_steps=250):

class GridGame(gym.Wrapper):
def __init__(self, game, play_length, path, lvl_name, mechanics=[], id=0):
"""Returns Grid instead of pixels
Sets the reward
Generates new level on reset
--------
"""

class Generator:
def __init__(self, tile_world, path=dir+'envs/games/zelda_v0/', mechanics=[], generation=0):
"""
:param tile_world: 2d numpy array of map
:param path: gym_gvgai.dir
:param mechanics: list of sprites you would like to be able to mutate into
"""

You can see how all three of these interact inside
UntouchableThunder/combinedTesting.ipynb

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.