33 lines
677 B
C++
33 lines
677 B
C++
#ifndef DEF_MAIN_H
|
|
|
|
#define DEF_MAIN_H
|
|
|
|
/* [1] Libs
|
|
=========================================================*/
|
|
/* (1) internes */
|
|
#include <iostream>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <stdlib.h>
|
|
#include <unistd.h>
|
|
|
|
/* (2) Externes */
|
|
#include "dep/term.h"
|
|
#include "dep/ChessContext.h"
|
|
|
|
/* (3) Namespace */
|
|
using namespace std;
|
|
|
|
|
|
/* [2] Enumerations et structures
|
|
=========================================================*/
|
|
|
|
|
|
/* [3] Methodes
|
|
=========================================================*/
|
|
int main();
|
|
void display_board(ChessContext& ctx);
|
|
void game_routine(ChessContext& ctx);
|
|
void chess_input(int* origin, int* dest);
|
|
|
|
#endif |