Skip to content

jfklorenz/Bridge-Scoring-Package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bridge-Scoring

NPM

Status GitHub top language npm npm NPM

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

The following methods of scoring are implemented:

  • Score for a contract
  • Matchpoints for a board
  • IMPs for a board
  • 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:

  • score.js
  • matchpoints.js
  • imps.js
  • 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.

About

Javascript package for Contract Bridge Scoring: Matchpoitns, IMPs and Victory Points.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published