diff --git a/pizza/go/go.mod b/pizza/go/go.mod new file mode 100644 index 0000000..2a20b88 --- /dev/null +++ b/pizza/go/go.mod @@ -0,0 +1,3 @@ +module git.0cd.xyz/michael/basic-computer-games/pizza + +go 1.17 diff --git a/pizza/go/main.go b/pizza/go/main.go new file mode 100644 index 0000000..c7ab925 --- /dev/null +++ b/pizza/go/main.go @@ -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++ { + + } +}