New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

bridge-scoring

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bridge-scoring

Bridge Score, IMPs, Matchpoints and Victory Poins.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

Bridge-Scoring

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.

Features

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

Tests

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

Keywords

Bridge

FAQs

Package last updated on 23 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts