Tank game for programming class