fully functional implementation of Deadfish in Go