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: 8 months 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T06:37:47.000Z (about 7 years ago)
- Last Synced: 2025-03-02T23:18:24.803Z (9 months 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.
[](https://david-dm.org/TechQuery/Functional-Bowling)
[](https://nodei.co/npm/functional-bowling/)
## Use it as a Library
First of all
```Shell
npm init
npm 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.git
npm 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.