1
package games.strategy.engine.random;
3
import java.io.IOException;
4
import java.lang.reflect.InvocationTargetException;
6
public interface IRemoteDiceServer
10
* Post a request to the dice server, and return the resulting html page as a string
12
public String postRequest(String player1, String player2, int max, int numDice, String text, String gameID, String gameUUID) throws IOException;
16
* Given the html page returned from postRequest, return the dice []
18
* throw an InvocationTargetException to indicate an error message to be returned
20
public int[] getDice(String string, int count) throws IOException, InvocationTargetException;
24
* Get the display name for this dice server
26
public String getName();
b'\\ No newline at end of file'