A simple "Rock Scissors Paper" AI

The idea comes from the following page:

http://www.nytimes.com/interactive/science/rock-paper-scissors.html

Just for fun.

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define MAXSEQ 4
int rec[1<<(MAXSEQ<<1)][3];
int que[MAXSEQ];
int base[1<<3];
char info[3][5] =
{
        "LOSE",
        "DRAW",
        "WIN …
more…