Difference between revisions of "Template:PolylineTemplateEn"
From wiki.visual-prolog.com
m |
m |
||
Line 24: | Line 24: | ||
{{{rusver}}} | {{{rusver}}} | ||
[[Category: | [[Category:Examples]] | ||
[[Category:Tutorials]] |
Revision as of 11:05, 26 March 2011
Written by Victor Yukhtenko. Email: victor@pdc.spb.su
The programs listed below are part of the Tutorial Project Evolutions article.
Game description
- The game is played on an M x N board.
Game rules
- Each player on his turn adds a new point. The point must prolong the existing Polyline (or start the Polyline, if it doesn't exist).
- The resulting Polyline must be non-interrupted and each move can be taken in any of end of the line.
- The player, which locks the line (the point is set on the polyline), wins.
Goal
{{{goal}}} {{{goalContent}}}
Code
- Tested with Visual Prolog 7.3 build 7302.
{{{code}}}
Functionality
{{{functionality}}}
Install
{{{install}}}
{{{open}}}
Run
{{{run}}}
{{{rusver}}}