Code Monkey home page Code Monkey logo

bazaarbot's Introduction

bazaarBot

A simple agent-based free market simulator engine.

This engine consists of various "Agents" trading commodities, with emergent free-floating prices that rise and fall according to the laws of supply and demand.

The eventual goal is to create an open-source "Economics engine" for games and simulations, much like contemporary open-source "Physics engines."

Based on "Emergent Economies for Role Playing Games" by Jonathon Doran and Ian Parberry.

Source: Procedural Content Generation

Building the example project

  1. Read this: Getting Started with OpenFL
  2. Install Haxe and OpenFL and everything according to the above instructions
  3. Install the hscript library (a dependency of bazaarBot): haxelib install hscript
  4. Clone this repo somewhere on your hard-drive, let's call that path/to/bazaarbot
  5. On the command line type haxelib dev bazaarbot path/to/bazaarbot to add bazaarbot as a Haxe library.
  6. Open a command-line, navigate to path/to/bazaarbot/examples/doran_and_parberry
  7. Run lime build flash to compile for flash
  8. Run lime build windows to compile for cpp/windows (or lime build mac or lime build linux, etc)
  9. Run lime build html5 to compile for html5
  10. Binary executables will appear in the Export/ folder
  11. Substitute lime test instead of lime build if you want to build AND immediately run the result.

bazaarbot's People

Contributors

larsiusprime avatar emibap avatar rchasepatterson avatar gamedevsam 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.