Rock-paper-scissors: Difference between revisions
m
→{{header|Go}}: library changes
(→{{header|PicoLisp}}: Added PureBasic) |
m (→{{header|Go}}: library changes) |
||
Line 552:
import (
"fmt"
"math/rand"
"strings"
"time"
Line 566:
func main() {
rand.Seed(time.
fmt.Println("Rock Paper Scissors")
fmt.Println("Enter r, p, or s as your play. Anything else ends the game.")
Line 636:
1:2 Play:
</pre>
=={{header|Haskell}}==
|