New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fenrir-wolfpack-simulation

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fenrir-wolfpack-simulation

Fenrir is an assistant to prognosticate the future of a wolfpack using vanilla Javascript and data structures.

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

Fenrir Wolfpack Simulator

alt text

npm version GitHub version Licence Known Vulnerabilities Codacy Badge Maintainability

Fenrir is an assistant to prognosticate the future of a wolfpack using vanilla Javascript and data structures.

Simulation and prediction includes:

  • Changes in the environment
  • Health and status of individual wolves
  • Disease conditions of each wolf
  • Weather events and effects
  • Alpha rankings in the pack
  • Mortality status of pack members
  • Wild card encounters (triggered by scout event)
  • Meat distribution
  • Regular events
  • Irregular events

Installation

npm i fenrir-wolfpack-simulation

Demo

http://fenrir.yigit.kim/

Demo of the current version doesn't have proper UI or interface design. To be designed in the future.

Current Version

Includes:

  • Max-heap tree for alpha determination and food distribution.
  • Regular Events.
  • Environment module (partial).
  • Constant parameters module.
  • Modifiers module for chance and likelihood calculation.
  • Variable parameter module.
  • Wolf data module.
  • Simulation module (initiating the simulation and generating reports).

Brief capabilities:

  • Create environment and it's object (input).
  • Create one or more wolf objects (input).
  • Calculate 7 hunt parameters which affect hunt success chance.
  • Determine alpha of the pack considering alpha points calculated.
  • Placement of wolf objects to max-heap tree according to alpha points.
  • Hunt event conclusion.
  • Food distribution order in pack.
  • Weather event trigger.
  • Scouting and results. (partial)
  • Basic simulation loop.

License

Licenced under the MIT License

Keywords

wolfpack

FAQs

Package last updated on 29 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts