func dbGetMaxGame(t *llrb.LLRB) int { max := t.Max() if max == nil { return 0 } return max.(*game).id }