@plokidesigns/heads-or-tails
Version:
Returns a heads or tails to emulate flipping a coin
15 lines (13 loc) • 337 B
Markdown
# heads-or-tails
A simple way to flip a coin and obtain heads or tails.
## Usage
1. Install package @plokidesigns/heads-or-tails
```
npm i @plokidesigns/heads-or-tails
```
2. Call the function
Sample Code:
```
const headsOrTails = require("@plokidesigns/heads-or-tails");
console.log(headsOrTails()) // heads or tails
```