From ca91956e27ab31b5cef5af4927fe37b0671ce092 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 3 Dec 2018 23:21:11 +0000 Subject: int64 -> uint64 for coins, disable noisy logging, turned off wattery (it was quickly abused), made anarchy less likely to win and time limited --- wat/db.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wat/db.go') diff --git a/wat/db.go b/wat/db.go index 53876c3..5f80af4 100644 --- a/wat/db.go +++ b/wat/db.go @@ -20,6 +20,7 @@ type Player struct { LastMined int64 LastRested int64 CoinsLost uint64 + Bankrupcy int64 // how many times someone has been bankrupt } type Action struct { @@ -78,7 +79,7 @@ func (w *WatDb) User(nick, host string, create bool) Player { func (w *WatDb) Update(upd ...interface{}) { for _, u := range upd { - fmt.Printf("Updating %+v\n", u) + //fmt.Printf("Updating %+v\n", u) w.db.Save(u) } } -- cgit v1.2.3