Re: text file loading

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu