Code: Select all
TYPE Search
sd AS INTEGER ' search depth
st AS INTEGER ' search time
ply AS INTEGER
END TYPE
TYPE Game
ply AS INTEGER
END TYPE
DIM SHARED search as Search
DIM SHARED game AS Game
' is still global but a way to group similar globals together.
' so you can have search.ply and game.ply