Specifications for DisplayBoard

by

Function DisplayBoard$(Mode$)

if Mode$="BW" then display for Both players and return immediately with DisplayBoard$="".

Otherwise,
if Mode$="W" then display for white
if Mode$="B" then display for black
After display, get a move attempt from the player.
Legal values for DisplayBoard$ are "resign" and
"a1-b3" <---etc. a-h, 1-9

There is no need for DisplayBoard to evaluate the move, so I removed the LegalMove simulation from this thread as useless clutter. :-)

The driver is posted in reply to this. Simply remove the DisplayBoard$ function and insert your own. Keep all the rest of the driver as-is to avoid integration problems.

Mac



    
This message has been edited by iorr5t from IP address 68.98.164.60 on Dec 22, 2005 8:03 PM
This message has been edited by iorr5t from IP address 68.98.164.60 on Dec 22, 2005 2:22 PM
This message has been edited by iorr5t from IP address 68.98.164.60 on Dec 22, 2005 11:58 AM

Posted on Dec 22, 2005, 10:13 AM
from IP address 68.98.164.60

Respond to this message   

Return to Index


Response TitleAuthor and Date
Driver for DisplayBoard on Dec 22
 Integrated display board for game.Pete on Dec 30
  Couple of bugs (related) on Dec 30
   Not a bug, a feature...Pete on Dec 30
    Mouse driver added...Pete on Dec 30
     Great! Found one bug on Dec 31
      Not a bug, another feature...Pete on Dec 31
       Good on Dec 31
        If any move is legal - nope...Pete on Dec 31
  OK - Try this...........................................................Pete on Dec 31