Go Fish/Nim: Difference between revisions
m
Fixed syntax highlighting.
mNo edit summary |
m (Fixed syntax highlighting.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
We use the module "playing_cards" from task https://rosettacode.org/wiki/Playing_cards.
<lang Nim>import strutils, strformat▼
import playing_cards
Line 198 ⟶ 200:
let answer = askQuestion("Do you want to play another game ([y]es/[n]o)? ", ["y", "n"])
if answer == 1: break
firstPlayer = firstPlayer.other()</
|