Giter Site home page Giter Site logo

swooboo / heritage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thelastproject/heritage

0.0 0.0 0.0 240 KB

HERITAGE is a text adventure game engine, written in Javascript, capable of interpreting .heritage files.

License: GNU General Public License v3.0

JavaScript 98.83% HTML 0.83% CSS 0.34%

heritage's People

Contributors

swooboo avatar

Watchers

 avatar  avatar

heritage's Issues

Overall planning, rewrite

c2c3a3b - started from scratch. I need your help @TheLastProject. What we want to achieve in the end is a rewrite using OO principles. I've read a JS Prototype Tutorial, which might help.

I'm thinking of the following objects:

  • Game - will contain game mechanics
  • Room - will contain room actions
  • View - communicating with the user.

What do you think?

Parsing game definition data

I think I'm almost done with game entities definition, and I suppose now it's time to code the parser. I've read your take on it, and I liked it, but had a feeling that there's got to be a better way... There's one I found online - PEG.js. It's a full-blown parser, and it seems to fit our needs, but I'm not sure how well it will handle the lack of closing token for each entity. EDIT: found another one - nearley.js, which looks like a more mature one, v2.7.7, in comparison with v0.10 for PEG.js.

What do you think @TheLastProject?

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.