Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(2 edits)

I'm using the OSX standard terminal. This is what it says after a crash:

panic: invalid argument to Intn

goroutine 1 [running]:
math/rand.(*Rand).Intn(0xc42007c2a0, 0x0, 0x4016adf543c1a99a)
/usr/local/opt/go/libexec/src/math/rand/rand.go:166 +0x9c
main.roll(0xc42007c2a0, 0x2, 0x2, 0xc42000e6f0)
/Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/util.go:47 +0x3d
main.(*darkSurge).update(0x11fd8d0, 0xc420098200)
/Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/darkness.go:76 +0x108
main.(*darkness).update(0xc42000a120, 0xc420098200)
/Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/darkness.go:55 +0x1fa
main.(*world).update(0xc420098200)
/Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/main.go:491 +0x6b5
main.main()
/Users/mpatraw/Development/src/gitlab.com/gruebite/dimlit/main.go:1378 +0x388
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

And this is what it looks like:



I hope this helps!