/Chassis.java
http://guzengo.googlecode.com/ · Java · 25 lines · 8 code · 4 blank · 13 comment · 1 complexity · 64da2470b3877d1599aef25f141483f7 MD5 · raw file
- /**
- * Chassis is the framework on which the go engine and interface sit.
- * The idea is to develop the engine and interface as swappable modules.
- * Support for a file reader module might be nice too (SGF, etc)
- */
- class Chassis {
- public static void main(String[] args) {
- if(args.length>0) {
- System.out.println("Command line parameters detected!"); // User is trying to do something
- }
-
- //test 2
- // initialize engine
- // must be done before interface in case interface checks version etc
-
- // start a game and loop til game end
- // invoke interface to get next command
- // check command from interface, if any
- // invoke engine, if required
- // invoke interface to respond, if required
-
- System.out.println("Done.");
-
- }
- }