added difficulty/threshold

also started on joinBattle but not sure where I'm going with it yet