Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blasmedina/bingo-card-generator
https://github.com/blasmedina/bingo-card-generator
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blasmedina/bingo-card-generator
- Owner: blasmedina
- Created: 2020-04-18T16:12:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T03:43:06.000Z (almost 2 years ago)
- Last Synced: 2024-09-16T14:28:43.196Z (4 months ago)
- Language: TypeScript
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bingo Card Generator
## Create PaperBroard
```typescript
// src/index.ts
import { createPaperboard } from './libs/bingo';const { paperboardHash, paperboardSummary, paperboard } = createPaperboard();
``````json
{
"paperboardHash": "58e59b684c136fdf306dd42769b6bc19",
"paperboardSummary": [
[1, 11, 25, 37, 84],
[2, 10, 48, 59, 77],
[34, 47, 57, 67, 86]
],
"paperboard": [
[1, 11, 25, 37, null, null, null, null, 84],
[2, 10, null, null, 48, 59, null, 77, null],
[null, null, null, 34, 47, 57, 67, null, 86]
]
}
``````
┌─────────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┐
│ (index) │ 0 │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │
├─────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
│ 0 │ 1 │ 11 │ 25 │ 37 │ null │ null │ null │ null │ 84 │
│ 1 │ 2 │ 10 │ null │ null │ 48 │ 59 │ null │ 77 │ null │
│ 2 │ null │ null │ null │ 34 │ 47 │ 57 │ 67 │ null │ 86 │
└─────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
```