From 2fba8049d03609270384a92094c5a3b7d507559b Mon Sep 17 00:00:00 2001 From: Ismail TAHA JANAN Date: Fri, 3 Feb 2023 17:28:43 +0100 Subject: [PATCH] first commit --- .classpath | 11 +++++++++++ .project | 17 +++++++++++++++++ .settings/org.eclipse.jdt.core.prefs | 14 ++++++++++++++ bin/morpion/Game.class | Bin 0 -> 253 bytes bin/morpion/MorpionGrid.class | Bin 0 -> 405 bytes bin/morpion/Player.class | Bin 0 -> 347 bytes bin/tests/GameTest.class | Bin 0 -> 403 bytes bin/tests/MorpionGridTest.class | Bin 0 -> 871 bytes bin/tests/PlayerTest.class | Bin 0 -> 497 bytes src/morpion/Game.java | 5 +++++ src/morpion/MorpionGrid.java | 15 +++++++++++++++ src/morpion/Player.java | 10 ++++++++++ src/tests/GameTest.java | 14 ++++++++++++++ src/tests/MorpionGridTest.java | 25 +++++++++++++++++++++++++ src/tests/PlayerTest.java | 20 ++++++++++++++++++++ 15 files changed, 131 insertions(+) create mode 100644 .classpath create mode 100644 .project create mode 100644 .settings/org.eclipse.jdt.core.prefs create mode 100644 bin/morpion/Game.class create mode 100644 bin/morpion/MorpionGrid.class create mode 100644 bin/morpion/Player.class create mode 100644 bin/tests/GameTest.class create mode 100644 bin/tests/MorpionGridTest.class create mode 100644 bin/tests/PlayerTest.class create mode 100644 src/morpion/Game.java create mode 100644 src/morpion/MorpionGrid.java create mode 100644 src/morpion/Player.java create mode 100644 src/tests/GameTest.java create mode 100644 src/tests/MorpionGridTest.java create mode 100644 src/tests/PlayerTest.java diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..1dba558 --- /dev/null +++ b/.classpath @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..8290ae7 --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + morpion + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..8c9943d --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,14 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/bin/morpion/Game.class b/bin/morpion/Game.class new file mode 100644 index 0000000000000000000000000000000000000000..6d5ff2e9d834b9e761a253265457f3b4a23e106b GIT binary patch literal 253 zcmYjL%MQU%6r5A7Qbpqr?6A-e@YqP$G%SeyZQXFC?UgG3WhJrj0X|BcD;730XXa!w z^Ljs?044}rSOh=Q#YyQrT!>7%unECYTt%3Qd>^jjqfAOdb*yq#P6?G>e@n1udM7

c$rqYFpO%Dz>9Ec7Gz6TqE5X7pK*Nb^7>$@Z^B%v2q zSyGIXT4}s$TFt$BB=qBdOdS%OTsGPt!5$1-6Yg!bs55!4v}Cw;!hv>=eYRlou>?c= z;L6~d?Q!fdI^`*G4o2^AM?!qTGv3gBX%_>IeoNZ;fpKk^Ak|?k{H4MRx!I literal 0 HcmV?d00001 diff --git a/bin/morpion/Player.class b/bin/morpion/Player.class new file mode 100644 index 0000000000000000000000000000000000000000..58a5f61cc3a5911d3014a2ae111be23411c281f6 GIT binary patch literal 347 zcmY*V+fKqj6r599ss#n{3w#4(><4&xAu%Co&;-N#wrpTY>6*2e_*eR5;)5UHM;T|q zh`!A1?3p>|?0$Z|e*m~bFGe6ZTv_*EY?a=X>RG!Op`g1|Pbw`{HBWEzr7mhg^U_qN zz7{n4gQ*}K+L=z!zGR36A@NY&U+gu&!n`nb@@}^o{YITiaF7y$vVePJ9m#@Wfq+F;z+ya&-EJz1K}S nA^I{HXc6061Nnf8Ux5zMhtJ5~7s!i8?2_@HWbm8pZd^y-Pg*^B literal 0 HcmV?d00001 diff --git a/bin/tests/GameTest.class b/bin/tests/GameTest.class new file mode 100644 index 0000000000000000000000000000000000000000..4d4cda72f68676cfcc0a4317e0178bc911e7c172 GIT binary patch literal 403 zcmZ8dO-sW-6r4@dM$^>RdJ?>N^8?%;pcO<=grJ}$_f1^t3(0OtHvTV9f(L(qKT3Rw zt*DoI`*vpM&D)R9w|4+D>;&)xww$hAEw5Fn=X?s_3ruqLtYo3gLf)mh&YZyDj10MR zf!@JkBH&-zM;)Sv%?N!A1jaELecP0&uI4H&w7@jBnJN-hQQNOBefLB)4~YLxJrx+P z6WkaU?A|xVQK=KEiCn|wps3B`UN*2PR;-T literal 0 HcmV?d00001 diff --git a/bin/tests/MorpionGridTest.class b/bin/tests/MorpionGridTest.class new file mode 100644 index 0000000000000000000000000000000000000000..7a49875bf004591bc7760076bfd3a840c78f3f43 GIT binary patch literal 871 zcmZuv+fEZv6kVq?ol}N^a;sP^TEI(N3{6bz0|gQ=YMKn1NFix>8p;F@mYF)8>JRWE zJn?LzVl?Ro7(c}azreaqX(BOwn0@wM`?mJp^W)FA9)Jxzl1K<-V!so2$~$4yR$=fW zQb%kiH9=~V%1T?H!M6fg?KeF5`nc;wqK zFz!GiB{3l|J0jDDgYhx2v4bQmfwZdv|7G{|(2wfgVapeoal@w9+V>)*?ICE!Z&XKM z-W@p#`J}W%k0y|P-3?-O>hG(LVuh_B2xBkiZDKd}ns0Z!_F!Cz0-bCsu`FQkhTW*?KUaD=bN?N2Ro@SbT&Tf= z3x3=xWr8~IKsiQhn_lgkDqX@ZeTUPy#N=nBKMo?NDJKW{DVVU4X5I`j=PC!Yn4`sC zfp`Kps9Ut=`RdxgiRpLGDt$uw3vTwlA~#eUYi4iL*to!xteJc4S}WSO(pXFND$=M} z7nseaGS+G(X=IZ0oLM4cW#oDP*I7d37S8)WH9-TK;1ZjI)ErDvpGJWc*GX-guS={> zLYj1bFv#AJ^b$&pUMAgjlD>!gT+ahWRblpd(4?eC2#JS4p9RKfOBAmVEsJc~=Xlox LnNnhj1Xlh6|4Oh_ literal 0 HcmV?d00001 diff --git a/bin/tests/PlayerTest.class b/bin/tests/PlayerTest.class new file mode 100644 index 0000000000000000000000000000000000000000..63a39bfdfc15622d15be5f06cb2094e882181bec GIT binary patch literal 497 zcmZ9I-AV&75QR^+Yiqabw$|T@H{NLl_W}F?6$GKEs1&?RYpf~T?6OS-AIl3VDEI(A zlz7q>ie6+gGbi(LGT%QRUjUA=Re~o_vubFE@l7IMResOB1fSi$e35Y?O)tLg^i|gi zh>Y#lAk8zKn%Vn9f#Q)i+MWm$cK6x>{(1VS0u)dQQNm&gO9Ii~p#UK&WsnwP0Y!mo zOB;1H8gyttb`m8}Z>3$Cv}LYcJ!|^*Sr47|-!WZ8t~dR|rFlvP8n+{3^+2`tP!n-# zOlqa2a}u^&Y2J(bBl>2{v{iX5Gab9%lNH>hqr9swv~yCOFXq7Q1Uocd;Qj;;-7|X3 z`Bla;t23%jt2M_6nx6oW{f8D0etSEiU4)?!s!fFu*wQpBhSM+vm%uZ Z-j2P`