Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified monopoly/bin/Debug/monopoly.exe
Binary file not shown.
20 changes: 20 additions & 0 deletions monopoly/mabiblio.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,24 @@









void Color1(int couleurDuTexte,int couleurDeFond);
//void affichePlateau(int pos);












#endif // MABIBLIO_H_INCLUDED
1,458 changes: 1,207 additions & 251 deletions monopoly/main.c

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions monopoly/mesfonctions.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,20 @@
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <windows.h>

///////////////////////////////////////
// Nom du sous-programme : COLOR
// R�le : change la couleur du texte dans la console, ainsi que la couleur du fond pour la ligne
// Compatibilit� : windows XP
///////////////////////////////////////

void Color1(int couleurDuTexte,int couleurDeFond) // fonction d'affichage de couleurs
{
HANDLE H=GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(H,couleurDeFond*16+couleurDuTexte);
}




13 changes: 12 additions & 1 deletion monopoly/monopoly.depend
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,20 @@
<string.h>
<stdbool.h>

1638199018 source:c:\users\denis\onedrive\documents\ece ing1\informatique\c\code\monopoly\mesfonctions.c
1640775201 source:c:\users\denis\onedrive\documents\ece ing1\informatique\c\code\monopoly\mesfonctions.c
<stdio.h>
<stdlib.h>
<string.h>
<stdbool.h>
<windows.h>

1640862529 source:c:\users\denis\onedrive\documents\ece ing1\informatique\c\code\monopoly\main.c
<stdio.h>
<stdlib.h>
<string.h>
<stdbool.h>
<time.h>
"mabiblio.h"

1640782532 c:\users\denis\onedrive\documents\ece ing1\informatique\c\code\monopoly\mabiblio.h

15 changes: 10 additions & 5 deletions monopoly/monopoly.layout
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="Debug" />
<File name="mabiblio.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="mesfonctions.c" open="1" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
<Cursor1 position="564" topLine="0" />
</Cursor>
</File>
<File name="main.c" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<File name="main.c" open="1" top="1" tabpos="1" split="0" active="1" splitpos="0" zoom_1="4" zoom_2="0">
<Cursor>
<Cursor1 position="38666" topLine="1063" />
<Cursor1 position="19546" topLine="51" />
</Cursor>
<Folding>
<Collapse line="822" />
<Collapse line="53" />
</Folding>
</File>
<File name="mabiblio.h" open="1" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="60" topLine="0" />
</Cursor>
</File>
</CodeBlocks_layout_file>
Binary file modified monopoly/obj/Debug/main.o
Binary file not shown.
Binary file modified monopoly/obj/Debug/mesfonctions.o
Binary file not shown.