From 4653dfc614fd722e6d8f05a9e2d69f7261d9f2d7 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 21 Feb 2022 18:51:42 -0500 Subject: [PATCH] using as a lib for now --- main.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/main.go b/main.go index 328ef15..adb8483 100644 --- a/main.go +++ b/main.go @@ -59,15 +59,16 @@ func DummyGame() (*Game, error) { return g, nil } -func main() { - //red := NewDummyPlayer(Red) - //blue := NewDummyPlayer(Blue) - _, err := DummyGame() - if err != nil { - panic(err) - } - return -} + +//func main() { +// //red := NewDummyPlayer(Red) +//blue := NewDummyPlayer(Blue) +// _, err := DummyGame() +// if err != nil { +// panic(err) +// } +// return +//} func addpiece(game *Game, rank int, c Colour, x int, y int) { res, err := game.SetupPiece(x, y, NewPieceFromInt(rank, c))