-
Notifications
You must be signed in to change notification settings - Fork 0
/
var.h
57 lines (43 loc) · 1.28 KB
/
var.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#ifndef MENU_H_INCLUDED
#define MENU_H_INCLUDED
#include <math.h>
#include <vector>
#include <iostream>
#include<bits/stdc++.h>
#include <curses.h>
#include <map>
#include <chrono>
#include <thread>
#define GET_VARIABLE_NAME(Variable) (#Variable)
using namespace std;
using namespace std::this_thread;
using namespace std::chrono;
/**Affiche le menu quand on joue la variation
* @param Plateau plat1 le premier plateau
* @param Plateau plat2 le deuxieme plateau
* @param bool L'etat de AI
**/
void menudejeu_var(Plateau plat1, Plateau plat2, bool ai);
/**Affiche le menu de la variation quand le jouer a perdu
* @param Plateau plat1 le premier plateau
* @param Plateau plat2 le deuxieme plateau
* @param bool L'etat de AI
**/
void findepartie_var(Plateau plat1, Plateau plat2, bool ai);
/** la fonction tireDeuxOuQuatre pour la mode variation
* @return 2 ou 4
**/
int tireDeuxOuQuatre_var();
/** la fonction plateauInitial pour la mode variation
* @return un Plateau en début de jeu
**/
Plateau plateauInitial_var();
/** la fonction addblock pour la mode variation
* @param plateau un Plateau
* @return le plateau apres on a ajoute un nouveau bloc
**/
Plateau addblock_var(Plateau plat);
/** le code pour faire la mode variation functionnel
**/
void joue_var();
#endif // VAR_H_INCLUDED