OpenCores
URL https://opencores.org/ocsvn/connect-6/connect-6/trunk

Subversion Repositories connect-6

[/] [connect-6/] [trunk/] [XILINX/] [BUILD_SCC/] [synth_src/] [threats.h] - Blame information for rev 17

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 17 sumanta.ch
 
2
 
3
 
4
 
5
typedef int PIECE;
6
 
7
typedef struct Board {
8
        AllocChain ac;
9
        /* Allocation chain must be the first member */
10
 
11
        unsigned int moves_left;
12
        /* How many moves the current player has left */
13
 
14
        struct Board *parent;
15
        /* The board preceeding this one in history */
16
 
17
        gboolean won;
18
        BCOORD win_x1, win_y1, win_x2, win_y2;
19
        /* On won boards, used to indicate where the winning line is */
20
 
21
        PIECE turn;
22
        /* Whose turn it is on this board */
23
 
24
        BCOORD move_x, move_y;
25
        /* The move to the next Board in history */
26
 
27
        PIECE data[];
28
} Board;
29
/* The board structure represents the state of the game board. Do NOT preserve
30
   board pointers across games. */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.