added more documentation, found lovely feature that made all players
share the same resources due to static variables...