UNPKG

@sinisterdev/rock-paper-scissor

Version:
13 lines (9 loc) 495 B
# Version 2 - Added parameter: `force` to `<module>.play()` - Whether the game must return a winner (meaning no ties) - Default: `false` - Revamped the Result object - Fixed typings on play function - Readded whitespace removal while running code(in a different way) # Version 1.2.0 - Fixed Typings - `<module>.play()` supports most IDE's IntelliSense - Compatibility - Module is now compatible with Node js version 12 and a few versions below too - Size - The package size has been reduced!