Git Product home page Git Product logo

librariansimulator's Introduction

librarianSimulator

This is a text-based game written in Javascript. It is still a work in progress.

11/28 added support for a player inventory.

11/30 made lots of changes. Now every object in the game world array gets an update call. This means that certain actions can happen based on object specific triggers. For example, mary gives the player a cup of coffee if you reach the right dialogue. I also created a dynamically updated list of possible actions. Now the objects that are 'visible' to the player will control what actions are possible. I also added what is becomming a bloated and ugly area of the screen for status updates and inventory. I'm now thinking that I may need to implement a menu system. Sigh. This all started because I wanted to alert the player when Mary gives her a cup of coffee. Another problem for another day.

TODO: Create arrays of synonmyms for each of the major actions. Loop search will then search each array and then return the major action. Example walk = ["walk", ["go", "travel", "run", etc...]];

librariansimulator's People

Contributors

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