|
8de78df258
|
Update docstring
|
2021-12-08 19:10:37 +01:00 |
|
|
e502f13a83
|
Make règles du jeu justified
|
2021-12-08 19:07:14 +01:00 |
|
|
ffaa42689d
|
Return to menu after playing
|
2021-12-08 19:05:43 +01:00 |
|
|
fe6ca24759
|
Formatting changes
|
2021-12-08 18:58:52 +01:00 |
|
|
ef92ed0188
|
Fix return false or true when bool had been deleted
|
2021-12-07 16:27:51 +01:00 |
|
|
136a169045
|
Remove stdbool, plus minor changes
|
2021-12-07 16:24:38 +01:00 |
|
Pysicopadingo
|
ecb98350de
|
Affichage nombre allumettes retiree
|
2021-12-07 16:19:04 +01:00 |
|
Pysicopadingo
|
57182f6c03
|
Changement du retour de jouer_coup pour allumettes_a_retirer
|
2021-12-07 16:14:56 +01:00 |
|
Pysicopadingo
|
346cb1f3ef
|
Empeche la boucle infini pour l'ordinateur quand il doit jouer 0 allumettes
Ajout du message indiquant le nombre d'allumettes retiré
|
2021-12-07 15:51:51 +01:00 |
|
Pysicopadingo
|
6db01f1bf5
|
Ajout ordi intelligent
|
2021-12-07 15:26:57 +01:00 |
|
|
6a416415bc
|
Write afficher_menu_difficulte
|
2021-12-07 13:11:07 +01:00 |
|
|
c7201d7b3b
|
Make ORDINATEUR an enum, correct some conditions
|
2021-12-07 12:52:54 +01:00 |
|
Pysicopadingo
|
503492b09e
|
Implementing different level of difficulty and easy mode
|
2021-12-06 16:09:47 +01:00 |
|
|
61fff7e866
|
Revert "Add Difficulty enum and submenu for difficulty"
This reverts commit 51610e002c .
|
2021-12-06 16:05:11 +01:00 |
|
|
16b1d0c370
|
Revert "Implement random number for EASY"
This reverts commit ba3900f397 .
|
2021-12-06 16:04:45 +01:00 |
|
|
ba3900f397
|
Implement random number for EASY
|
2021-12-06 16:01:05 +01:00 |
|
|
51610e002c
|
Add Difficulty enum and submenu for difficulty
|
2021-12-06 15:50:36 +01:00 |
|
|
9af48cda19
|
Implement coup for ordinateur, set to 3 allumettes for now
|
2021-12-01 23:05:57 +01:00 |
|
|
0c2a5eeae7
|
Add comment
|
2021-12-01 22:54:06 +01:00 |
|
|
b65a42b185
|
Name ordinateur and launch game with him
|
2021-12-01 22:52:21 +01:00 |
|
|
5e8ba63284
|
Add ORDINATEUR extern variable
|
2021-12-01 22:42:58 +01:00 |
|
|
8895a71bed
|
Add option play jouer contre ordinateur
|
2021-12-01 22:21:34 +01:00 |
|
|
540f2d5565
|
Add possible quit during game
|
2021-12-01 22:19:58 +01:00 |
|
|
fe0897480f
|
Simplify while loop for partie
|
2021-12-01 22:07:26 +01:00 |
|
|
3829ea5c14
|
Write règles
|
2021-11-30 23:20:40 +01:00 |
|
|
533a0be6de
|
Quit with q
|
2021-11-30 23:12:23 +01:00 |
|
|
625e71185f
|
Reenter loop if not playing or quitting
|
2021-11-30 23:08:44 +01:00 |
|
|
f87ddc32a4
|
Invert perdant and gagnant
|
2021-11-30 23:05:12 +01:00 |
|
|
11be916615
|
Correct player swapping and enum declaration
|
2021-11-30 23:02:03 +01:00 |
|
|
596db3a498
|
Move vider_buffer out to module, so that it can be used by jouer_coup
|
2021-11-30 22:46:06 +01:00 |
|
|
1914a28e62
|
Handle string input in main with emptying buffers
|
2021-11-30 22:23:39 +01:00 |
|
|
78f0754ac3
|
Add fgets to get name of players, not functional
|
2021-11-30 17:12:45 +01:00 |
|
|
50e35f9ce3
|
Add joueurs as strings
|
2021-11-30 17:04:50 +01:00 |
|
|
54ae835afc
|
Add Makefile
|
2021-11-30 16:51:59 +01:00 |
|
|
adffdb1332
|
Make modules
|
2021-11-30 16:50:00 +01:00 |
|
|
1642720f0f
|
First commit
|
2021-11-30 16:05:10 +01:00 |
|