Start of some code.

This commit is contained in:
Sacha Ligthert 2023-12-01 18:38:58 +01:00
parent 62f10f66d6
commit 8b8e396710
6 changed files with 29 additions and 0 deletions

1
bots/ignore.md Normal file

@ -0,0 +1 @@
Left empty on purpose.

1
game/ignore.md Normal file

@ -0,0 +1 @@
Left empty on purpose.

3
go.mod Normal file

@ -0,0 +1,3 @@
module gitea.ligthert.net/golang/rowboz
go 1.21.4

13
main.go Normal file

@ -0,0 +1,13 @@
package main
import (
"fmt"
"gitea.ligthert.net/golang/rowboz/types"
)
func main() {
var pos Position
pos.x = 5
pos.y = 5
fmt.Println("Hello World")
}

6
types/position.go Normal file

@ -0,0 +1,6 @@
package types
type Position struct {
x int
y int
}

5
types/robots.go Normal file

@ -0,0 +1,5 @@
package types
type Robot struct {
position Position
}