GithubHelp home page GithubHelp logo

Enhancement: Bot Support about ninjas HOT 2 CLOSED

TomMD avatar TomMD commented on June 9, 2024
Enhancement: Bot Support

from ninjas.

Comments (2)

TomMD avatar TomMD commented on June 9, 2024

OK, I haven't found much time to work on this - mostly last weekend.

  1. We now have a 'bot' mode for Ninja's and a clean module 'Ninja' for use as a library.
  2. Defining, compiling to, and interpreting a bytecode wouldn't teach the desired lesson. Instead we leverage Hint. to interpret Haskell code. This way a 'bot' could be made that is actually a bytecode interpreter or networked thing that coordinates many bots if someone wanted to get silly.
  3. There is no 'Ninja' language yet. There are events (ServerCommands, not yet cleaned up), a World, and all the possible primitive commands (move, stop, smoke, attack). I started to define 'belts' that would give progressively more power but stopped when I realized I don't have a good lesson plan.
  4. No need for a compiler, this was silly over engineering.
  5. TBD
  6. I think we should over wrappers, in the style of the current WhiteBelt instead of weakening the problem.

The changes can be pulled any time - it's functional but not a great stopping point.

from ninjas.

glguy avatar glguy commented on June 9, 2024

merged!

from ninjas.

Related Issues (1)

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.