Class RefereeMain

java.lang.Object
com.codingame.gameengine.core.RefereeMain

public class RefereeMain extends Object
Entry point for the local GameRunner and CodinGame's server side game runner
  • 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

      public static void main(String[] args)
      CodinGame's game runner will launch the referee using this method.
      Parameters:
      args - unused
    • start

      public static void start(InputStream is, PrintStream out)
      The local GameRunner will launch the referee using this method.
      Parameters:
      is - InputStream used to capture the referee's stdin
      out - PrintStream used to capture the referee's stdout