From 513a54f811cb92472ff76fb8e0a84d5e01147fb6 Mon Sep 17 00:00:00 2001 From: r20004714 <andrianinarisaina-cy.RAKOTOARISOA@etu.univ-amu.fr> Date: Fri, 18 Nov 2022 22:08:40 +0100 Subject: [PATCH] =?UTF-8?q?T=C3=A2che=209.4(12.2.4)=20:=20Cr=C3=A9ation=20?= =?UTF-8?q?de=20la=20classe=20GreedyStrategy,=20qui=20consiste=20=C3=A0=20?= =?UTF-8?q?choisir=20la=20couleur=20qui=20augment=20le=20plus=20le=20score?= =?UTF-8?q?=20du=20joueur.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit P.S : le dernier commit (concernant la classe RandomWalk) est la "Tâche 9.3(12.2.3)", et non "Tâche 9.2(12.2.2)". --- app/src/main/java/model/GreedyStrategy.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app/src/main/java/model/GreedyStrategy.java diff --git a/app/src/main/java/model/GreedyStrategy.java b/app/src/main/java/model/GreedyStrategy.java new file mode 100644 index 0000000..3f79f88 --- /dev/null +++ b/app/src/main/java/model/GreedyStrategy.java @@ -0,0 +1,14 @@ +package model ; +import java.util.List; +import javafx.scene.paint.Color; + +import java.util.List; + +public class GreedyStrategy implements Strategies { + + @Override + public void jouer(List<Color> colors) { + throw new UnsupportedOperationException("Not supported yet."); + } + +} \ No newline at end of file -- GitLab