Package com.codingame.gameengine.core
Class RefereeMain
java.lang.Object
com.codingame.gameengine.core.RefereeMain
Entry point for the local
GameRunner and CodinGame's server side game runner-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanIs overridden by CodinGame's server side game runnerstatic voidCodinGame's game runner will launch the referee using this method.static voidstart(InputStream is, PrintStream out) The localGameRunnerwill launch the referee using this method.
-
Constructor Details
-
RefereeMain
public RefereeMain()
-
-
Method Details
-
isInProduction
public static boolean isInProduction()Is overridden by CodinGame's server side game runner- Returns:
- whether or not this execution is happening locally or on CodinGame
-
main
CodinGame's game runner will launch the referee using this method.- Parameters:
args- unused
-
start
The localGameRunnerwill launch the referee using this method.- Parameters:
is-InputStreamused to capture the referee's stdinout-PrintStreamused to capture the referee's stdout
-