text file loading
- Posted by weddle at psknet.com Jul 21, 2002
- 379 views
This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C230F9.118F7740 charset="iso-8859-1" Ok, a while back i was working on a checkers program that plays through = games, anyways the moves are loaded from a text file by Source = Destination so one move would be: 11 15 is there any way possible to add another part to define a number (or = numbers) that was 'jumped' over. like maybe have the text file something = like: 25 18 [22] (22 being the piece that was jumped..) it would need = to be able to hold multiple numbers for jumps capturing 2 or more = pieces... any ideas? ------=_NextPart_000_0007_01C230F9.118F7740 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Ok, a while back i was working on a = checkers=20 program that plays through games, anyways the moves are loaded from a = text file=20 by Source Destination so one move would be: 11 15<BR>is there any way = possible=20 to add another part to define a number (or numbers) that was = 'jumped' over.=20 like maybe have the text file something like: 25 18 [22] (22 being = the=20 piece that was jumped..) it would need to be able to hold multiple = numbers for=20 jumps capturing 2 or more pieces... any = ------=_NextPart_000_0007_01C230F9.118F7740--