moved pizza to go folder
Signed-off-by: Michael <michael.lindman@gmail.com>
This commit is contained in:
parent
abe55b8f37
commit
d7c065b3f6
3
pizza/go/go.mod
Normal file
3
pizza/go/go.mod
Normal file
@ -0,0 +1,3 @@
|
||||
module git.0cd.xyz/michael/basic-computer-games/pizza
|
||||
|
||||
go 1.17
|
23
pizza/go/main.go
Normal file
23
pizza/go/main.go
Normal file
@ -0,0 +1,23 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
"fmt"
|
||||
"os"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println("Pizza")
|
||||
fmt.Println("Creative Computing Morristown, New Jersey")
|
||||
|
||||
fmt.Println("Pizza Delivery Game:")
|
||||
scanner := bufio.NewScanner(os.Stdin)
|
||||
fmt.Printf("What is your first name:")
|
||||
scanner.Scan()
|
||||
fmt.Printf("Hi, %s. In this game you are to take orders for pizzas.\n", scanner.Text())
|
||||
fmt.Println("Then you are to tell a Delivery boy where to deliver the ordered pizzas.")
|
||||
|
||||
for i := 1; i < 16; i++ {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user