Git Product home page Git Product logo

baba's Introduction

Baba Is You

You know what they say. If you can't beat it, make your own implementation.

Level+0

Entity

An entity combines a Noun and Actions.

  • It can be one Noun
  • Noun can be transform ed based on rules that are applied
    • BABA IS YOU -> ROCK IS YOU will give the user control of all ROCK entities
    • ROCK IS FLAG -> all ROCK entities will become FLAG entities
  • It can have one or more Actions applied
    • BABA IS YOU horizontally + BABA IS WIN vertically

TextEntity

Text always looks the same and has the same actions.

  • It always has the push Action applied
  • It always has the same text for the visual
  • It cannot be transformed into something else or destroyed
  • It can display text corresponding to a Noun, an Action, or a Connector

Noun

  • BABA
  • ROCK
  • WALL
  • FLAG

Action

  • YOU
    • The controllable character
    • If no Noun corresponds to YOU, it's game over
  • PUSH
    • The character can move the entity
  • STOP
    • The character can not move the entity
    • The character can not move through the entity
  • WIN
    • If the character moves onto the WIN entity, level complete
    • If the character is the WIN entity, level complete
  • Default
    • By default, the character will not interact with an entity and can move through it

Connector

  • IS
    • Connects a Noun to an Action to create a rule

Rule

A noun plus an action creates a rule.

  • A rule has to read Noun-to-Action left-to-right or top-to-bottom (WIN IS FLAG will not work)
  • Consequently, the same Noun can be used for two rules
  • A rule with IS YOU must exist for the game to continue
  • A rule with IS WIN must exist for the level to be complete

baba's People

Contributors

taniarascia avatar

Stargazers

 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.