Re: text file loading
- Posted by Kat <gertie at PELL.NET> Jul 21, 2002
- 349 views
On 21 Jul 2002, at 20:56, weddle at psknet.com wrote: > > 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? Xml? line = <source=x,y><jmp1=a,b><jmp2=c,d><jmp3=r,g><dest=z,w> Kat