Git Product home page Git Product logo

beardstat's People

Contributors

lostwave avatar tehbeard avatar

Watchers

 avatar

beardstat's Issues

How to display stats in game.

Too complicated for seaching. Swap to pages method and dynamically generate pages?

Can we add metadata to api.mcjson.com dataset to help with building pages (item/block categories etc?)

Could in future pull directly from api.mcjson.com and populate StatPointers (need option to purge unused StatPointers?)

Re-factor stats to reference the meta objects instead of strings

Current IStat implementations store domain, world, category and statistic as strings.

This isn't really useful for being able to parse and filter against. We should move to have the meta objects exist statically (i.e. one object for a WorldMeta, reffed by all stats using it).

Additionally, we will improve the StatMeta, storing the "id" and classifiers (key/value pairs that change the item) alongside formatting information.

We can then lazy-save these properties when stuff is saved

  • Implement new StatPointer with classifiers.
  • Make other Meta classes follow same pattern for storing one unique instance per property set.
  • Migrate IStat to use *Meta Classes
  • Update IStat implementations to match
  • Load in block/item/entity data from JSON dump of api.mcjson.com database.
  • Rebuild IStatDataProviders to lazy save these properties on saving of an EntityStatBlob
  • Write migration script to update old data to new format (need to look at mapping of old bukkit names to mojang structure) (optional)

Think about which stats are stored

  • Swap to TimeStat for timer values (time spent playing)
  • Rework categories
  • Remove any totals
  • Rethink stat names. (prefix namespace beardstat to them?)

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.