home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume13
/
xmake5
/
part02
/
xmake5.doc
< prev
Wrap
Text File
|
1992-01-13
|
4KB
|
138 lines
Name of the game:
=================
Make5 is a game similar to Tic-Tac-Toe.
It is called Wu3-Zi3-Qi2 in Chinese and is
very popular in the Far East. 5-in-a-row and
Go-Moku are the other names for this game.
You may also find it called "Chess" on some
Nitendo games. I call it Make5 because the goal
of this game is to make five continuous stones
in a line.
How to play:
============
This game was originally played by two players
on a board of infinite size. Each player puts
a stone at one empty cross-point at a time.
The winner is the one who first puts five
continuous stones in a line, vertically,
orizontally, or diagonally.
However, this program plays the game on a finite
board the same size as a GO game board, which has
19 by 19 cross-points. The only tricky rule is
that you must make exactly five continuous stones
in a line to win. Six or more stones in a line
do not count.
Some people play this game with a rule which
prohibits the first player to make double-3 or
double-4 attacking patterns. But I do not
like this rule and did not include it in this
program.
Strategies:
===========
So, you see why it is like Tic-Tac-Toe.
You have to stop the other player's continuous
lines of stones and design your own attacking lines.
Unlike Tic-Tac-Toe, this game is played on a large
board and requires five stones in a line to win.
Is there a winning strategy for the first player?
You tell me.
Options of playing:
===================
This program can play with you or play with itself.
You can also play with your friends and use this
program to update the board.
Most of the options in the "Setup..." menu can be
changed in the middle of a game. Hence, you can
switch the players, change the computer's searching
level, or even undo your moves.
The "Where..." menu provides hints for good
positions and the position of the last move.
You can switch to the challenge mode, in which
the computer always moves first and you can not
undo, change play level or order, or get suggestion
from the computer. If you beat the computer, your
name would be added into the list of winners.
Have fun!
History of this program:
========================
The basic playing algorithm was designed in 1984
as a term project of an A.I. class; it was written
in Pascal and runs on Prime-750. The game was
ported to Turbo Pascal and ran on PC in 1986.
Now this game is translated to C and C++ with an
X interface. Another version called cmake5 is also
available. It uses the UNIX curses library and runs
on most ASCII terminals.
Chih-Hung Hsieh November 1991
(Please send your comment to hsiehch@cs.nyu.edu.)
Hsieh
------------------------
,,, ||' ||'
'|| ,,|,,,| ||
,,,,|,|, || || ||
||'''|| ,,,||,|
,,,,|, ||,,,|| ||
|| ||,, ||
'''''' || ,,||' ||
, '||'' ,|| | ||
||''|| ,|'|| | ||
|| || ,,'' || ||
|| || || ||
||'''' ''||' ''||'
------------------------
Chih
------------------------
||'
|| ,,
'''''''''''||'''''''''''
||
|| ,,
''''''''''''''''''''
,,
, ||' '|, ,,
| || '' '|,
,|' || | '||
,|| || |, ||'
'' '|||||||||||'
------------------------
Hung
------------------------
,,,,,,,,,|, ||,
||' ||
|| ||
|,,,,,,|| ,|'
|| '' ||
|| ||
||,,,,,,|, ||
'' ||' |' ',
|| |' '|
,|' ,' ,||
,|' ,,|,,,|''' '||
'''|||' '''' ||
------------------------