better organized game-logic scripts