diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 6c75b04..ed02e99 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -28,6 +28,9 @@
+
diff --git a/app/src/main/java/com/example/mastermind/ChoiceCombi.java b/app/src/main/java/com/example/mastermind/ChoiceCombi.java
index 319096f..7e84a21 100644
--- a/app/src/main/java/com/example/mastermind/ChoiceCombi.java
+++ b/app/src/main/java/com/example/mastermind/ChoiceCombi.java
@@ -1,19 +1,51 @@
package com.example.mastermind;
import android.app.Activity;
+import android.content.Intent;
import android.os.Bundle;
+import android.view.View;
import com.example.mastermind.game.GameView;
-import com.example.mastermind.game.Grille;
import com.example.mastermind.game.Saisie;
-public class HotSeatActivity extends Activity {
+public class ChoiceCombi extends Activity implements SaisieActivity {
+ private Saisie saisie;
+ private Integer[] combiGagnante;
+ private Integer[] pions;
+ private View view;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
- boolean bot = getIntent().getBooleanExtra("bot", false);
- if setContentView(new ChoiceCombi(this, new Saisie()));
+ int[] tab = getIntent().getIntArrayExtra("pions");
+ this.pions=new Integer[6];
+ for (int i=0;i