- Main Page
- Classes
- Files

# TestWin.h

    00001 /*
    00002 * Neural Networks Tearm Project
    00003 * Martin Johne
    00004 * 04.10.2006
    00005 */
    00006 #pragma once
    00007
    00009 class CTestWin
    00010 {
    00011 public:
    00012
    00014
    00019         CTestWin(const char *pBoard, char *pWinBoard, int boardSizeX, int boardSizeY, int boardSizeZ, char playerToTest, int winFieldCount, int returnImmediately);
    00020         ~CTestWin(void);
    00022         bool testWin();
    00023
    00024 private:
    00025         const char *pBoard;
    00026         char *pWinnerBoard;
    00027         int boardSizeX, boardSizeY, boardSizeZ;
    00028         char whichPlayer;
    00029         int returnImmediately;
    00030         int  boardFieldCount, boardFieldCountPlain;
    00031         int  winFieldCountTimesX;
    00032         int  winFieldCount;
    00033 };