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
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Is overridden by CodinGame's server side game runnerstatic void
CodinGame's game runner will launch the referee using this method.static void
start
(InputStream is, PrintStream out) The localGameRunner
will 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 localGameRunner
will launch the referee using this method.- Parameters:
is
-InputStream
used to capture the referee's stdinout
-PrintStream
used to capture the referee's stdout
-