Package XOrules

Examples of XOrules.XOgame


        res_ = XOrulesUtilits.whoseWin(fld);
        System.out.println(res_);

        //////////////////////////////////////////////

        XOgame game = new XOgame(4, XOrulesUtilits.Xchar, 3);
        game.makeTurn(XOrulesUtilits.Xchar, 2, 2);
        game.makeTurn(XOrulesUtilits.Ochar, 2, 1);
        game.makeTurn(XOrulesUtilits.Xchar, 1, 1);
        game.makeTurn(XOrulesUtilits.Ochar, 1, 2);
        game.makeTurn(XOrulesUtilits.Xchar, 3, 3);
        res = game.isItWin();
        System.out.println(res);
        System.out.println(game.getSituation());
    }
View Full Code Here

TOP

Related Classes of XOrules.XOgame

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.