update copyright header
implement time limit
the environment of a dungeon base can be set by config