Git Product home page Git Product logo

vowels's Introduction

Vowels

Vowels is a AI engine made in Golang. It is based on simple principles of cause and effect.

Core Structure

The idea behind vowels is that every action has an effect on an entity. This is broken down into several stages:

  1. Entities - The entity is the actor which has certain interests. These interests will affect what actions the entity commits.
  2. Interests - A certain object or motivation for an entity.
  3. Actions - Something an entity will do to satisfy interests. Actions that best fit an entities interests will be given priority over other actions.
  4. Outcomes - Actions will satisfy interests, as these interests are satisfied, the outcome will affect the level of the interest.
  5. Updates - As interests are satisfied, the weight of that interest will go down and the weight of unsatisfied interests will go up.

Lets say for example we have a race of orcs (entities). This race is driven by gold, territorial dominance, and self preservation (interests). There are many things an orc can do. It can sleep, roam, attack players, hunt, and socialize (actions). All of these actions will satisfy the interests of the orc in some way. However, lets say roaming will satisfy the interests the best. The orcs will form parties and conduct patrols throughout its territories. They encounter a caravan and come to a decision point. Their desire for gold and territorial dominance outweighs their desire for self preservation and they decide to attack the caravan. There are two outcomes for this scenario. They either win and are enriched by gold, or lose the fight. Each of these outcomes will update the weight of their interests in a different manner.

Diagram

diagram

Usage

  1. Open your Terminal application.
  2. Type go get github.com/Vilyan01/vowels to download the library.

vowels's People

Watchers

 avatar  avatar

vowels's Issues

Read from JSON and/or YAML

The project will need to have a way for users to define their own entities, interests, and actions. Possibly outcomes, however I would think that outcomes will be dynamic and probably should not be a part of this feature.

Entities: Core implementation.

The core foundation of the entire projects: the entity object.

Entities will have:

  1. Many interests
  2. Many actions
  3. Ability to decide on an action.

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.