moved pizza to go folder

Signed-off-by: Michael <michael.lindman@gmail.com>
This commit is contained in:
Michael 2022-02-16 17:52:09 +00:00
parent abe55b8f37
commit d7c065b3f6
2 changed files with 26 additions and 0 deletions

3
pizza/go/go.mod Normal file
View File

@ -0,0 +1,3 @@
module git.0cd.xyz/michael/basic-computer-games/pizza
go 1.17

23
pizza/go/main.go Normal file
View 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++ {
}
}