Exemple #1
0
    static public void InitZobristTable()
    {
        RC4 rc4 = new RC4();

        rc4.InitZero();
        ZobristTable.player.InitRC4(rc4);
        for (int i = 0; i < 14; i++)
        {
            for (int j = 0; j < 256; j++)
            {
                Zobrist zobr = new Zobrist();
                zobr.InitRC4(rc4);
                ZobristTable.table[i, j] = zobr;
            }
        }
    }