Skip to content

Break Open Ticket Types approved by the Alcohol and Gaming Commission of Ontario (AGCO) in a Node-friendly format.

License

Notifications You must be signed in to change notification settings

cityssm/agco-break-open-ticket-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AGCO Break Open Ticket Types

Maintainability codecov DeepSource Coverage Testing

Break Open Ticket Types approved by the Alcohol and Gaming Commission of Ontario (AGCO) in a Node-friendly format.

Installation

npm install @cityssm/agco-break-open-ticket-types

Usage

import {
  isTicketType,
  ticketTypes
} from '@cityssm/agco-break-open-ticket-types'

console.log(isTicketType('BN1'))
// => true

console.log(isTicketType('AG1000'))
// => false

console.log(ticketTypes.SP1)
/*
  {
    ticketType: "SP1",
    ticketPrice: 0.5,
    ticketCount: 2730,
    prizesPerDeal: 930
  }
 */

Related Projects

Lottery Licence Manager
A web application for managing AGCO's municipal lottery licensing requirements in Ontario.

About

Break Open Ticket Types approved by the Alcohol and Gaming Commission of Ontario (AGCO) in a Node-friendly format.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks