- Starting solo game with physics
This commit is contained in:
Kum1ta
2024-08-29 18:43:23 +02:00
parent 24704b8493
commit 64b2e8ab73
33 changed files with 40944 additions and 110 deletions

32
site/real_game/node_modules/statsjs/README.md generated vendored Normal file
View File

@ -0,0 +1,32 @@
# Stats.js by [Angus Gibbs](http://angusgibbs.com)
Provides functions for many of the statistical operations that you might need.
## About
Stats.js currently supports many of the statistical functions that you might need, including
* regression lines (linear, power, exponential)
* min, max, mean, median, first quartile, third quartile
* least common multiple and greatest common factor
* standard deviation
* sorting a list of points by an attribute
* probabilities (binomial, geometric, normal)
* z procedures
It also supports many of the functions on the data set that you'd expect from [Underscore](http://underscore.js), such as `pluck`, `map`, and `each`.
See the [getting started guide](https://github.com/angusgibbs/statsjs/blob/master/docs/getting_started.md) for more information.
## Roadmap
* Better documentation
* Auto-detect best regression line
## Contributing
Patches are welcome, just make sure there are matching unit tests. Tests use [mocha](http://visionmedia.github.com/mocha/) with my fork of [expect.js](https://github.com/angusgibbs/expect.js) (which allows you to assert that a value is within a certain error range of another value). Once you clone the repo (either your fork or this repository), `cd` into it and run `npm install` to install mocha and expect.js. Tests can be found within `test/test.js`.
## License
Stats.js is licensed under the [MIT License](http://opensource.org/licenses/mit-license.php). See https://github.com/angusgibbs/statsjs/blob/master/LICENSE for the full license.