Coder Social home page Coder Social logo

dnd-test's Introduction

DnD Bot Example

Introduction

This first example of a DnD scraping bot has its target on the spells by classes, it provides an structure to match any spellcasting-class relations with the complete spells pool. To succeed in this task, it scraps all the spell's tables (cantrips and levelled) from a class and returns it on one document, this structure may change in the future.

Running

To install and run this example, just clone the repo and run:

npm install
npm run dev

The current output for this example should be an object with the following structure logged on console after less than 10 seconds of runtime:

{
    "class": "warlock",
    "cantrips": ["cantrip name 1", ...],
    "level": {
        "level1": ["level1 spell name 1", ...],
        ...
        "level9": ["level9 spell name 1", ...]
    }
}

Current stack

The purpose of this repo is to showcase the use of most components in our choice of a tech-stack at the backend of this project, currently this repo shows in action the following techs:

  • Node.js
  • TypeScript
  • Puppeteer

Formatting and more

With the intention of learning about quality improvement of our code, and improve the experience of anyone watching the project, the following add-ons may be included in the project:

  • Linting (ESLint)
  • Formatting (Prettier)

dnd-test's People

Contributors

vicente-g 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.