kata-poker-teamb's Introduction
------------Jeu de poker Team-B------------- État du jeu : -------------------------- Le jeu prend actuellement en compte toutes règles indiquées dans la spécification : Quinte Flush, Carré, Full, Flush, Quinte, Brelan, Double pair, pair, et carte la plus haute. Le jeu affiche le gagnant et la raison pour laquelle il a gagné. Comment jouer : -------------------------- Lancer depuis la racine les commandes "mvn clean package" puis "mvn exec:java". L’utilisateur saisit alors une main de 5 cartes, presse entrée et saisit la 2e comme indiqué dans la règle du jeu dans Dojo - La main de Poker.pdf Si une carte est saisie en double, ou le format d'entrée indiqué dans la spécification n'est pas respecté, un message d’erreur est envoyé, il faut relancer la commande "mvn exec:java". Note: si trop de caractères "espace" sont mis entre les cartes, un message d'erreur indiquera que le nombre de cartes saisies doit être égal à 5 et le programme s'arrêtera. Fichiers livrés : -------------------------- B-specs.xls README.txt src/ ----main/ --------java ------------poker/ ----------------game/ --------------------Card.java --------------------CardColor.java --------------------CardValue.java --------------------CombinationType.java --------------------exception/ ------------------------CardColorRuntimeException.java ------------------------CardDuplicationBetweenPlayerRuntimeException.java ------------------------CardDuplicationInHandRuntimeException.java ------------------------CardValueRuntimeException.java ------------------------CardWrongInputSizeRuntimeException.java ------------------------WrongHandSizeRuntimeException.java --------------------Game.java --------------------Hand.java --------------------Referee.java ----------------Poker.java ----test/ --------java ------------poker/ ----------------game/ --------------------CardColorTest.java --------------------CardTest.java --------------------CardValueTest.java --------------------GameTest.java --------------------HandTest.java --------------------RefereeTest.java --------------------WinnerTest.java Auteurs: -------------------------- Maxime CASTELLANO Jason HAENLIN Ruben HOURI Vincent UNG
kata-poker-teamb's People
kata-poker-teamb's Issues
Corriger les erreurs de saisies.
si on a une main de ce type :
5Tr___9Tr_10Ca_9Pi_3Pi ( "_" = espace)
Il y a une erreur car il y a plus que un espace qui sépare 2 cartes.
IL faudrait prendre en compte ce cas et ne pas le considérer comme une erreur,
il s'agit juste d'adapter le code pour le corriger logiciellement.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.