Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/techquery/functional-bowling
Functional algorithm of Bowling scoring written in JavaScript with TDD model
https://github.com/techquery/functional-bowling
algorithm bowling-score functional-programming javascript test-driven-development
Last synced: 6 days ago
JSON representation
Functional algorithm of Bowling scoring written in JavaScript with TDD model
- Host: GitHub
- URL: https://github.com/techquery/functional-bowling
- Owner: TechQuery
- License: agpl-3.0
- Created: 2017-12-18T10:14:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T06:37:47.000Z (over 6 years ago)
- Last Synced: 2024-12-30T19:35:56.142Z (25 days ago)
- Topics: algorithm, bowling-score, functional-programming, javascript, test-driven-development
- Language: JavaScript
- Size: 40 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README
# Functional Bowling
[Functional algorithm of Bowling scoring](http://cyber-dojo.org/review/show/DC2C0AC2A7?avatar=starfish) written in JavaScript with [TDD model](https://en.wikipedia.org/wiki/Test-driven_development), which came out from [@TechQuery](https://github.com/TechQuery/) after a Pair Programming activity of [FCC-CDG](https://freecodecamp-chengdu.github.io/) Council.
[![NPM Dependency](https://david-dm.org/TechQuery/Functional-Bowling.svg)](https://david-dm.org/TechQuery/Functional-Bowling)
[![NPM](https://nodei.co/npm/functional-bowling.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/functional-bowling/)
## Use it as a Library
First of all
```Shell
npm initnpm install functional-bowling
```
then you can use this package in two typical environments:### Web Browser
```HTML
var bowling = window['functional-bowling'];
```
### Node.JS
```JavaScript
import * as bowling from 'functional-bowling';
```## Learn or Develop it
**Fork** this repository to *your namespace* on GitHub, and then execute commands shown below:
```Shell
git clone https://github.com/{your_namespace}/Functional-Bowling.gitnpm install
# Modify some code, and then
npm test# After developing
git commit -m "{What you have changed}"
```
In the end, you can create a **Pull request** to the original repository.