# About

GOMOKU MACHINE v1.3 is the 4th  iteration of the famous computer program, the gomoku-quine. Compared
to its predecessors  it features improved reasoning  capabilities at cost of slower  processing. The
gomoku quine is a  computer program that, within  its  own source code, contains  a board of Gomoku.
When  executed the program prints  a copy of its  own code, slightly modified.  Before executing the
program the user is expected to modify the source text to insert her own move into the board, making
sure to follow the game's rules — each run of the program then progresses the game by one turn, with
the program making its own move at each iteration. The process — the user modifying the program then
executing  it, then modifying the  printed  code and executing  that — continues,  until  either the
program or the user manage to build a line of 5 pieces in a row. As the game progresses, the program
will print  messages in its "text display" box,  announcing moves, wins, and any rule-break mistakes
the user makes.

# System Requirements

To run GOMOKU MACHINE v1.3 you will need a personal computer that satisfies the following:

- 256 MiB of RAM or more,
- Linux v6.7 or later with Node.JS v22 or later,
- A monospace visual text editor/viewer that supports double-width characters and UNICODE.

It is recommended  to use  a text editor  that supports  a convenient command to  replace the entire
contents of the open file by "piping" them into a program and writing down the result.  For example,
the Vi IMproved visual text editor allows you to conveniently run an iteration of GOMOKU MACHINE via
the `:%!node` command. On weaker computers game processing may take a long time:  to reduce the wait
you may want to obtain previous versions of the software, e.g. GOMOKU MACHINE v1.0.
