That certainly is bizarre. It sounds like the judge was just looking for some excuse to justify his decision, or maybe he has a kid at home that spends too much time on games. 
Either way, that's a bogus basis for a decision.
I hope you can get things straightened out.