I'm not sure if I'm doing something wrong but if I execute it and press any button I get an error:
panic: runtime error: index out of range goroutine 1 [running]:
github.com/gokultp/go-four-in-a-row/game.(*Game).addEntry(0xc0000f6000, 0xffffffffffffffd0, 0x1)
/home/exotel/go/src/github.com/gokultp/go-four-in-a-row/game/game.go:107 +0x195
github.com/gokultp/go-four-in-a-row/game.(*Game).Input(0xc0000f6000, 0xffffffffffffffd0)
/home/exotel/go/src/github.com/gokultp/go-four-in-a-row/game/game.go:246 +0x5b
main.main()
/home/exotel/go/src/github.com/gokultp/go-four-in-a-row/main.go:33 +0x166
Running the amd64 version on a linux.