English:
This little program shows all the possible solutions of the game Knight
and the game KnightMoves. The games are available from:
Aminet:game/wb/Knight.lha
Aminet:game/think/KnightMoves.lha
To get the solve just type coordinates of the start position for example:
A1 or 11, B1, B2, C4, 34 etc... The program then will start computing all
the possible travels and will output them as move numbers shown on ASCII
drawn chess board. More descriptions of the algorithm and the methods of
program flow are in the source code (SolveKnight.c).
68000, 68020, 68040, PowerUP, WarpOS, MorphOS, PC and GameBoy versions
included.
The Amiga versions were compiled with VBCC v0.8. The PC version was
compiled with Borland Turbo C++ v1.01 (The freeware compiler from their
community site), using PC-Task. The GameBoy version was compiled with
GBDK from Aminet.
Áúëãàðñêè:
Òàçè ìàëêà ïðîãðàìà ïîêàçâà âñè÷êè âúçìîæíè ðåøåíèÿ íà èãðàòà Knight è
íà èãðàòà KnightMoves, êîèòî ìîãàò äà ñå èçòåãëÿò îò:
Aminet:game/wb/Knight.lha
Aminet:game/think/KnightMoves.lha
Çà äà ïîëó÷èòå ðåøåíèåòî, ïðîñòî âúâåäåòå êîîðäèíàòèòå íà íà÷àëíîòî ïîëå
íàïðèìåð çà A1 èëè 11, B1, B2, C4, 34 è ò.í... Ñëåä òîâà ïðîãðàìàòà ùå
èç÷èñëè âñè÷êè âúçìîæíè òóðîâå íà êîíÿ è ùå ãè èçâåäå êàòî íîìåðà íà
õîäîâå íà ASCII íàðèñóâàíî øàõìàòíî ïîëå. Ïîâå÷å îïèñàíèå íà àëãîðèòúìà è
íà÷èíà íà äåéñòâèå íà ïðîãðàìàòà èìà â èçõîäíèÿ êîä (SolveKnight.c).
Ïðîãðàìàòà èìà èçïúëíèìè âåðñèè çà 68000, 68020, 68040, ÏàóúðÚÏ, ÓàðïÎÑ,
ÌîðôÎÑ, ÏèÑè è ÃåéìÁîé.
Àìèãà âåðñèèòå áÿõà êîìïèëèðàíè ñ VBCC v0.8. ÏèÑè âåðñèÿòà áåøå
êîìïèëèðàíà ñ Borland Turbo C++ v1.01 (Áåçïëàòíèÿò êîìïèëàòîð îò òåõíèÿ
îáùíîñòåí ñàéò), èçïîëçâàéêè PC-Task. ÃåéìÁîé âåðñèÿòà áåøå êîìïèëèðàíà
ñ GBDK îò Àìèíåò.
|