Logic and structure of the computer game