Difference between revisions of "Template:PolylineTemplateEn"
From wiki.visual-prolog.com
m (New page: {{spbCopyright}} The programs listed below are part of the Tutorial Project Evolutions article. {{PolyLine Game Rules}} ==Goal== {{{goal}}} {{{goalContent}}} ==Code== *{{TestedWithE...) |
m |
||
Line 9: | Line 9: | ||
{{{goalContent}}} | {{{goalContent}}} | ||
==Code== | ==Code== | ||
*{{ | *{{SpbTestedWithEn}} | ||
{{{code}}} | {{{code}}} |
Revision as of 12:48, 25 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}}}