change game core structure, update attack logic