If you are using JetBrain's IntelliJ, add the following line to the begining of each .java file:

  package com.game.main;