Falling Bricks
Informace
Legendární logická hra ve zbrusu novém silně návykovém provedení!
Tento projekt byl vytvořen jako semestrální práce do předmětu
Y36ALG (Algoritmizace).
Popis hry na Wikipedii.
Stáhni a hraj!
Dokumentace
Zdrojové kódy (prohlížení)
- fallingbricks
1: package fallingbricks; 2: 3: /** 4: * Helper for displaying debug messages 5: * @author Ondrej Macoszek 6: */ 7: public class Debug 8: { 9: 10: /** 11: * If false messages are displayed otherwise not 12: * @see #msg(java.lang.String) 13: */ 14: private final static boolean inProduction = false; 15: 16: /** 17: * Constructor not used 18: */ 19: public Debug() 20: { 21: } 22: 23: /** 24: * Display message according to value of inProduction variable 25: * @see inProduction 26: * @param message 27: */ 28: public static void msg(String message) 29: { 30: if(!inProduction) 31: { 32: System.out.println(message); 33: } 34: } 35: 36: } 37:
