diff --git a/HyperSet/.idea/workspace.xml b/HyperSet/.idea/workspace.xml
index 466efad..798f915 100644
--- a/HyperSet/.idea/workspace.xml
+++ b/HyperSet/.idea/workspace.xml
@@ -91,7 +91,8 @@
-
+
+
@@ -131,9 +132,9 @@
-
+
-
+
\ No newline at end of file
diff --git a/HyperSet/vues/css/style.css b/HyperSet/vues/css/style.css
index 4b5771d..2a36832 100644
--- a/HyperSet/vues/css/style.css
+++ b/HyperSet/vues/css/style.css
@@ -64,16 +64,13 @@ h1 {
margin-top: 55%;
}
+
.diamond {
transform: rotate(67deg) skewX(45deg) scaleY( 0.40);
width: 60px;
-
-
}
-
-
.wave {
border-radius: 15px 180px 15px 180px;
transform: rotate(1deg) skewX(0.5deg) scaleX(0.8);
diff --git a/HyperSet/vues/js/set.js b/HyperSet/vues/js/set.js
index 956cf4b..38aa0ac 100644
--- a/HyperSet/vues/js/set.js
+++ b/HyperSet/vues/js/set.js
@@ -25,7 +25,7 @@ var Game = {
success: function(data) {
self.cards = data;
self.displayCards.call(self);
- self.existingSet(data);
+ self.existingSet();
self.setCardListeners();
self.setPageListeners();
}
@@ -48,11 +48,7 @@ var Game = {
displayCards: function() {
var self = this;
- var colors = [];
- var shapes;
- var fills;
- var numbers;
- var cartes = [];
+
$.each(this.cards, function(index, card){
@@ -66,9 +62,17 @@ var Game = {
'number': card.number
});
- var shapeNode = $('