Skip to content
Snippets Groups Projects
twoPlayers.c 424 B
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include "board.h"

#ifndef twoplayers_h
#define twoplayers_h
int current_line(struct board board, int no_col);
bool is_full_board(struct board board);
bool row_of_four(struct board *board);
bool diag_of_four_left_right(struct board *board);
bool diag_of_four_right_left(struct board *board);
bool winner(struct board board);
void play(struct board board);
#endif