[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums

Nactation program: prototype

Posted By: Matt Ryder
Date: Thursday, 1 December 2011, at 1:32 a.m.

In Response To: Nactation program: prototype (Nack Ballard)

Thanks Nack and Mike for the excellent materials. I will dive in over the weekend.

I'm inclined to follow Nack's advice and start with the area-based letters only, merely to limit the scope. The source-to-destination approach with these letters at least marginally resembles trad, so it's a good place to begin.

Here's my initial rudimentary development scope:

The user will input:

1. position A text string describing a position (before the move) in the form of a GNUBGID or XGID (the system should be able to distinguish these). The algorithm will ignore information pertaining to the match state or cube, focusing on the layout of checkers in a 25 position array (and the dice where available).

2. move A move expressed either in traditional notation or in nactation (the system should distinguish)

3. dice (Optional parameter) Two digit number between 11 and 66 representing the dice roll. Dice information may already be contained in the GNUBGID or XGID, but if this parameter is included it will take precedence and override the GNUBGID or XGID dice.

The system will output one or more of the following:

1. A comma-separated list of all nactation candidates representing the move (listed in order of priority, where possible). If the system cannot parse the inputs, a question mark will be written.

2. The move in trad. If the system cannot parse the inputs, a question mark will be written.

3. The final position (after the move) expressed as a GNUBGID or XGID. If the system cannot parse the inputs, the initial position string will be written.

The system will initially only understand the following nactation letters: UVRSZB EACON DJIGYMQ (and associated lower-case or rich-text families)

The system will not attempt to parse any type of 'assumptive' nactation at all.

Matt R.

Messages In This Thread

 

Post Response

Your Name:
Your E-Mail Address:
Subject:
Message:

If necessary, enter your password below:

Password:

 

 

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

BGonline.org Forums is maintained by Stick with WebBBS 5.12.