#include <jem/base/Time.h>
#include <jem/base/Array.h>
#include <jem/base/System.h>
#include <jem/base/Thread.h>
#include <jem/io/FileWriter.h>
#include <jem/io/StdoutWriter.h>
#include <jem/io/BufferedWriter.h>
void printGame
{
for ( idx_t i = 0; i < g.
size(0); i++ )
{
}
print ( out,
"-+", endl );
for ( idx_t j = 0; j < g.
size(1); j++ )
{
for ( idx_t i = 0; i < g.
size(0); i++ )
{
if( g(i,j) > 0 )
{
}
else
{
}
}
print ( out,
" |", endl );
}
for ( idx_t i = 0; i < g.
size(0); i++ )
{
}
print ( out,
"-+", endl, endl );
}
int run ()
{
const int P = 35;
const int Q = P / 2;
const int N = P * 2;
const int M = N / 2;
newInstance<BufferedWriter> (newInstance<StdoutWriter> () );
a = 0;
a(M - 21,Q + 3) = a(M - 20,Q + 3) = a(M - 19,Q + 2) =
a(M - 18,Q + 1) = a(M - 18,Q ) = a(M - 18,Q - 1) =
a(M - 19,Q - 2) = a(M - 20,Q - 3) = a(M - 21,Q - 3) = 1;
a(M - 1, Q + 3) = a(M , Q + 3) = a(M + 1, Q + 2) =
a(M + 2, Q + 1) = a(M + 2, Q ) = a(M + 2, Q - 1) =
a(M + 1, Q - 2) = a(M , Q - 3) = a(M - 1, Q - 3) = 1;
printGame ( *out, c );
out->flush ();
for ( idx_t i = 0; i < 185; ++i )
{
b = 0;
b = n + s + e + w + ne + nw + se + sw;
printGame ( *out, c );
out->flush ();
}
return 0;
}
int main ()
{
}