/* jyanken.c */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "jyanken.h"

char ken[3][8] = {"グー", "チョキ", "パー"};

int main(void)
{
	int u, c, n;

	srand((unsigned)time(NULL));

	printf("3回勝負だ\n");
	for (n = 1; n <=3; n++) {
		u = user();
		c = computer();
		judge(u, c);
	}
	return 0;
}
