Commit 16e90e0d authored by Zohten's avatar Zohten

moved combination

parent 94fbe01d
//import Tile from '@/model/Tile.js'
import Tile from '../model/Tile.js'
const COMBINATION_NAME = {
"0": "Chow",
"1": "Pung",
"2": "Kong"
};
//export default
class Combination {
constructor(tiles) {
this.tiles = tiles;
}
getCombinationName(tiles){
return 'pouet';
}
}
test = new Combination(1);
console.log(test);
\ No newline at end of file
import Tile from '@/model/Tile.js'
const COMBINATION_NAME = {
"0": "Chow",
"1": "Pung",
"2": "Kong"
};
export default class Hand{
constructor() {
this.tiles_left = [];
......
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