Author: Tim Mirabile
Date: 11:53:42 03/22/99
Go up one level in this thread
Hi, I'm still not sure exactly what you are trying to do. Please explain exactly what you need. For example, if you have a file like 5254 3735 7163 4746 4244 etc. to convert to e2e4 c7c5 g1f3 d7d6 d2d4 would be very easy (just need to know how promotions are noted). If you want to convert this to 1.e4 c5 2.Nf3 d6 3.d4 etc., this is a little harder because the program has to actually parse the game and keep track of the position so that it knows which piece is being moved and how to disambiguate moves. In any case, this would only really be appropriate for converting completed games. If you want to be able to enter moves of ongoing correspondence games as 5254 etc. into a database or chess program as each move is received, this is something else entirely (and Perl would not be appropriate here). It would be best just to convince someone to include numeric input of moves in their next version. On March 22, 1999 at 04:07:04, Robert Ericsson wrote: >I/We want to be able to type in numeric notation. If you can write a perl script >I and other cc players would be very greatful! Many thanks in advance! > >/Robert > >On March 20, 1999 at 18:10:10, Tim Mirabile wrote: > >>Do you want to be able to type in the move in numeric notation, or do you simply >>have files to convert. If you just want to convert files from e.g. 5254 to e2e4 >>and then import them into some program which accepts this, I can write a perl >>script to do this in about ten minutes. >> >>If you must type in the moves, why not type the complete score into a text file, >>then do the conversion and import. >> >>On March 18, 1999 at 04:08:35, Robert Ericsson wrote: >> >>>On March 18, 1999 at 03:39:13, Michael D. Sharpe wrote: >>> >>>>Filemate will display the moves in ICCF Numeric as you enter the moves on the >>>>display board and the game will be saved in PGN ... doesn't convert however. >>> >>>Filemate is great but it doesn't do what we want. In Filemate as in every >>>other database/chess program you can enter moves in two ways: >>>1) drag pieces on the board display => moves are generated in a move list >>>2) type in the algebraic coordinates e2e4 => see above >>> >>>What we want is the following: >>>3) type in the numeric coordinates 5254 => moves generated in a move list >>> as algebraic moves _and_ moves >>> displayed on the board >>> >>>That is, the translation has to be done by the program and not by us! >>> >>>It seems that many programs can generate the moves the other way around. >>> >>>This is a great challenge for all you programmers out there! Many chess >>>programs and chess databases are made with cc players in mind. This is >>>what cc players want in the next upgrade of _your_ program :-) >>> >>>Robert
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.