2023-03-19 22:36:49 +01:00
|
|
|
package com.example.mastermind;
|
|
|
|
|
|
|
|
import android.content.Intent;
|
|
|
|
import android.os.Bundle;
|
|
|
|
|
|
|
|
import androidx.annotation.Nullable;
|
|
|
|
import androidx.appcompat.app.AppCompatActivity;
|
|
|
|
|
|
|
|
public class MasterMindActivity extends AppCompatActivity {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
setContentView(R.layout.activity_master_mind);
|
|
|
|
Intent data=this.getIntent();
|
|
|
|
System.out.println(data.getIntExtra("nbJoeur", 1));
|
2023-04-02 16:55:23 +02:00
|
|
|
System.out.println(data.getIntArrayExtra("code"));
|
2023-03-19 22:36:49 +01:00
|
|
|
}
|
|
|
|
}
|