itertools-ts
itertools-ts copied to clipboard
Implement random.rockPaperScissors()
Generate random rock-paper-scissors hands. Return values: "rock", "paper", "scissors".
If optional param repetitions not given then iterate infinitely.
function *rockPaperScissors(repetitions?: number): Iterable<"rock" | "paper" | "scissors">
Needs to be implemented:
random.rockPaperScissors()random.rockPaperScissorsAsync()Stream.rockPaperScissors()AsyncStream.rockPaperScissors()
hi @Smoren can you assign this issue to me i can try
Hi @eshant742! Done :)