I had the misfortune of getting mugged, and although they inconvenienced me heavily (they got my 3DS and my library of games), I'm okay (one bruise at most).
Please stay safe if you're walking at night. I was coming back from a concert walking through campus (a college campus generally known to be safe, and I thought so, too, after walking around at night for 5 years straight), while I got hit by a group of people (won't go into detail about them). I was dumb by listening to music and looking at my cellphone while it happened. Luckily, they didn't resort to weapons, and they ran off after they jacked my bag (they were originally targeting my cell phone but I fought a bit).
I want to make clear, this was NOT the right approach to responding to a mugging. I could have very easily been murdered if I was being attacked by a more unstable group of people. The right thing to do is to give them what they ask for and get out scot free otherwise, and then, of course, report to the police immediately (luckily the campus has many emergency response booths around, so it was literally less than a minute that a police officer came to take down notes). Other ways I could've prevented it (though in my situation, unlikely): not listening to music and being able to notice them faster, or walking back with a friend. I also made the mistake of cussing at them instead of yelling to call the cops or that I was getting mugged. Doing this is very situational (read up on the bystander effect), but on the campus I was on, it would've been advantageous to me.
Just to make it clear, they hit me in between crowds of people walking nearby (literally 150 feet away, and actually really close to campus buildings WITH LIGHTS ON INSIDE), and surrounded me. Muggers use a surprise advantage (check your flanks, seriously, or make sure you can notice them) to force you into submission.
Stay safe.