2016-03-08 18:23:35 +00:00
|
|
|
#ifndef DEF_MAIN_H
|
2016-03-06 21:51:07 +00:00
|
|
|
|
2016-03-08 18:23:35 +00:00
|
|
|
#define DEF_MAIN_H
|
2016-03-06 21:51:07 +00:00
|
|
|
|
|
|
|
/* [1] Libs
|
|
|
|
=========================================================*/
|
|
|
|
/* (1) internes */
|
|
|
|
#include <iostream>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2016-03-08 18:23:35 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <typeinfo>
|
2016-03-06 21:51:07 +00:00
|
|
|
|
|
|
|
/* (2) Externes */
|
|
|
|
#include "dep/term.h"
|
2016-03-08 18:23:35 +00:00
|
|
|
#include "dep/ChessContext.h"
|
2016-03-06 21:51:07 +00:00
|
|
|
|
|
|
|
/* (3) Namespace */
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
|
|
/* [2] Enumerations et structures
|
|
|
|
=========================================================*/
|
|
|
|
|
|
|
|
|
|
|
|
/* [3] Methodes
|
|
|
|
=========================================================*/
|
|
|
|
int main();
|
2016-03-08 18:23:35 +00:00
|
|
|
void display_board(ChessContext& ctx);
|
|
|
|
void game_routine(ChessContext& ctx);
|
|
|
|
void chess_input(int* origin, int* dest);
|
2016-03-06 21:51:07 +00:00
|
|
|
|
|
|
|
#endif
|