Simple rpg style deathmatch in JS