Add a bunch of TODOs

This commit is contained in:
Marc Di Luzio 2020-06-07 23:17:56 +01:00
parent 65818ed0e1
commit 35806576f9
5 changed files with 9 additions and 0 deletions

View file

@ -6,6 +6,8 @@ import (
"strings"
)
// TODO: Pull this out into math package and get more test coverage
// Abs gets the absolute value of an int
func Abs(x int) int {
if x < 0 {

View file

@ -7,6 +7,7 @@ const (
TileEmpty = Tile(0)
TileRover = Tile(1)
// TODO: Is there even a difference between these two?
TileWall = Tile(2)
TileRock = Tile(3)
)

View file

@ -55,6 +55,7 @@ func (w *World) SpawnRover() (uuid.UUID, error) {
Range: 5.0,
// Set the name randomly
// TODO: Fix the stupid "'s"
Name: babble.NewBabbler().Babble(),
},
}