/**
 * GameDriver - a driver file to test your practice exam1 game.
 * @author Alvin Chao
 * @version 2-6-19
 * I have abided by the JMU Honor Code.
 */
 
public class GameDriver {

    /**
     * Main method.
     * @param args command line arguments.
     */
     
    public static void main(String[] args) {
        int pos;
        int num;
        int mov;
        int play;
        pos = 18;
        num = 22;
        int endPosition = Game.movePieceBy(pos, num);
        System.out.printf("Method 1: For position %d and number %d your "
            + "end position will be %d\n", pos, num, endPosition);
        mov = 8;
        play = 4;
        int playerTurn = Game.playerTurn(mov, play);
        System.out.printf("Method 2: For move #: %d and %d players, your "
            + "player to move will be: %d\n", mov, play, playerTurn);
    } 
}
