GithubHelp home page GithubHelp logo

gambot's Introduction

Gambot

The Revenge

Basically XKCD's Bucket rewritten in C# with modularity out the wazoo.

Design Goals

  1. Clean code -- should be readable and maintainable
  2. Modularity -- the core should be as small as possible, with all features implemented as plugins
  3. Compatibility -- should be compatible with any Bucket database

Module Design

Modules:

  1. Can define "magic variables" (such as $who, $giveitem, $someone) through Variables class
  2. Can read/write its own configuration data through Config class
  3. Can read/write its own SQL tables
  4. Can list other modules as dependencies and communicate with them (how??)

Problem Areas

  1. Conjugation -- $verbed, $verbing, $nouns, etc.
  2. Genders -- Keeping track of the last person variable
    • Probably doable if the $who/$to/$someone module can keep an internal reference to the last $who/$to/$someone reference and use that for further $he/$him/$his references
  3. Casing - $who/$Who/$WHO

Other Notes

  1. Variables are a part of the Gambot core, since almost all modules will make use of them
  2. While Bucket uses MySQL, Gambot will use SQLite. Ideally, the schemas will be compatible
    • If we decide to break backwards compatibility, a migration script should be made

gambot's People

Contributors

mohammedh123 avatar splagoon avatar emilh91 avatar

Watchers

 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.