Add files via upload

This commit is contained in:
herauda
2020-04-17 16:03:59 +02:00
committed by GitHub
parent 0497631eaf
commit 3a92c35568
8 changed files with 156 additions and 54 deletions

13
src/main/Pioche.java Normal file
View File

@@ -0,0 +1,13 @@
package main;
import java.util.Collections;
import java.util.List;
public class Pioche<Carte> {
private List<CartePiochable> cartesPiochables;
public CartePiochable piocher() {
Collections.shuffle(cartesPiochables);
return cartesPiochables.get(0);
}
}