bridge-scoring

0.0.1 • Public • Published

Bridge-Scoring

This Javascript package is designed to score every possible outcome of a Contract Bridge game.

The following methods of scoring are implemented:

  • [x] score for a contract
  • [x] matchpoints for a board
  • [x] IMPs for a board
  • [x] Victory Points for a match

Each method can be called seperately to calculate certain results.


The features folder contains the source code and a detailed documentation of every function with several examples.

Included files:

  • [x] score.js
  • [x] matchpoints.js
  • [x] imps.js
  • [x] victorypoints.js

The __ tests __ folder contains test cases for the source code and a list of every testcase. All tests have beeen run with jest.

Dependents (0)

Package Sidebar

Install

npm i bridge-scoring

Weekly Downloads

8

Version

0.0.1

License

MIT

Unpacked Size

226 kB

Total Files

18

Last publish

Collaborators

  • jfklorenz