123456789101112131415161718192021222324
package model; import view.ConfigFrame; import view.MemoryFrame; import control.Storage; import control.Util; public class Memory { /** * @param args */ public static void main(String[] args) { new ConfigFrame(); if (Storage.getInstance().isConfigured()) { while (Storage.getInstance().isNewGame()) { Util.resetStats(); new MemoryFrame(); } } } }