Commit 8c572876 authored by Zohten's avatar Zohten

Console.log

parent 4396e5b2
...@@ -27,7 +27,12 @@ export default { ...@@ -27,7 +27,12 @@ export default {
this.Hand.draw(new TileModel(tile)); this.Hand.draw(new TileModel(tile));
}); });
this.Hand.sort(); this.Hand.sort();
console.log('Liste des chow');
console.log(this.Hand.checkChow()); console.log(this.Hand.checkChow());
console.log('Liste des Pung');
console.log(this.Hand.checkPung());
console.log('Liste des Kong');
console.log(this.Hand.checkKong());
}, },
updated(){ updated(){
}, },
...@@ -35,7 +40,6 @@ export default { ...@@ -35,7 +40,6 @@ export default {
tileClickedListener: function(event){ tileClickedListener: function(event){
let dicarded = this.Hand.discard(event.id_tuile); let dicarded = this.Hand.discard(event.id_tuile);
console.log(dicarded); console.log(dicarded);
console.log(this.Hand.checkChow());
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment