Giter Site home page Giter Site logo

eggplant's Introduction

EggPlant AI

EggPlant is an AI (bot player) for the classic RTS game, Warzone 2100. It's in early stages of development -- you can follow my ramblings about it in the WZ forums.

I'm hoping for an initial beta release in Q1 2013.

EggPlant APIs

I decided to create a series of APIs, and have each API deal with a component of the AIs architecture. This way I can easily change it's component parts without having to wade through a single massive script.

I have future plans to use EggPlant AI and/or it's APIs to build challenges and maybe even campaign missions, so if EggPlant seems over-engineered from an AI perspective please bear my future plans in mind. The AI is just the tip of the iceberg :)

Currently, I'm working on the foundations -- things like dependency checking, unit testing, caching, etc. Many of these APIs can easily be used in other projects.

All APIs, with the sole exception of Test API, rely on the Util API which provides a load of features that are used to construct APIs, in particular the Dependency Checker.

The Test API, which is loosely based on QUnit is designed to run stand-alone, as I imagine it will be more widely used by other developers. Even though it doesn't rely on Util API, it will automatically use it's features (dependency checking, type checking, etc) if it's available. If you want to discuss the Test API, use this forum topic -- feedback is always most welcome!

I'll be releasing more APIs as they reach a point where I'm not refactoring them every 5 minutes. My goal is to have near-complete code coverage by unit tests, and full documentation with examples, before releasing an API.

Folder Structures

There are lots and lots of files in EggPlant, so I decided to group them in to folders as follows (note: many of these folders not yet pushed to github):

  • APIs -- the main APIs, they are all documented in the wiki
  • Config -- basic config/settings for APIs
  • Chats -- Chat commands (requires Chat API)
  • Defines -- Shims, polyfils, and other tweaks to native JS API features (requires Define API)
  • Diags -- Diagnostic routines (requires Diag API)
  • Tests -- unit test scripts (requires Test API)

License

Everything in EggPlant is licensed as CC-BY-SA 3.0 so you're free to grab it and use it in your own projects. All I ask is that you include some attribution by having a link to https://warzone.atlassian.net/wiki/display/EGG.

eggplant's People

Contributors

originalfoo avatar

Watchers

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