remis build/ pour le ssh de l'ens qui ne peut riuen compiler tout seul
This commit is contained in:
parent
9122e245a5
commit
972d36147b
14 changed files with 1373 additions and 1 deletions
33
build/dp0.js
Normal file
33
build/dp0.js
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
||||
* This devtool is neither made for production nor for readable output files.
|
||||
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
||||
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
||||
* or disable the default devtool with "devtool: false".
|
||||
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
||||
*/
|
||||
/******/ (() => { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ "./src/display/dp0.ts":
|
||||
/*!****************************!*\
|
||||
!*** ./src/display/dp0.ts ***!
|
||||
\****************************/
|
||||
/***/ (() => {
|
||||
|
||||
eval("\n\n\n//# sourceURL=webpack:///./src/display/dp0.ts?");
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
/************************************************************************/
|
||||
/******/
|
||||
/******/ // startup
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ // This entry module can't be inlined because the eval devtool is used.
|
||||
/******/ var __webpack_exports__ = {};
|
||||
/******/ __webpack_modules__["./src/display/dp0.ts"]();
|
||||
/******/
|
||||
/******/ })()
|
||||
;
|
||||
126
build/dp1.js
Normal file
126
build/dp1.js
Normal file
File diff suppressed because one or more lines are too long
126
build/dp2.js
Normal file
126
build/dp2.js
Normal file
File diff suppressed because one or more lines are too long
126
build/dp3.js
Normal file
126
build/dp3.js
Normal file
File diff suppressed because one or more lines are too long
156
build/dp4.js
Normal file
156
build/dp4.js
Normal file
File diff suppressed because one or more lines are too long
66
build/dp5.js
Normal file
66
build/dp5.js
Normal file
File diff suppressed because one or more lines are too long
136
build/test_yakus.js
Normal file
136
build/test_yakus.js
Normal file
File diff suppressed because one or more lines are too long
96
build/txt0.js
Normal file
96
build/txt0.js
Normal file
File diff suppressed because one or more lines are too long
96
build/txt1.js
Normal file
96
build/txt1.js
Normal file
File diff suppressed because one or more lines are too long
96
build/txt2.js
Normal file
96
build/txt2.js
Normal file
File diff suppressed because one or more lines are too long
96
build/txt3.js
Normal file
96
build/txt3.js
Normal file
File diff suppressed because one or more lines are too long
96
build/txt4.js
Normal file
96
build/txt4.js
Normal file
File diff suppressed because one or more lines are too long
96
build/txt5.js
Normal file
96
build/txt5.js
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -135,7 +135,34 @@ sanshokuDoujun: function( // TODO
|
|||
groups: Array<Group>,
|
||||
wind: number
|
||||
): number {
|
||||
return 0;
|
||||
let h = hand.toGroup();
|
||||
let gr;
|
||||
if (h !== undefined) {
|
||||
gr = groups.concat(h);
|
||||
} else {
|
||||
gr = groups;
|
||||
}
|
||||
gr = gr.filter(g => chii(g));
|
||||
gr.sort((g1, g2) => g1.compare(g2))
|
||||
if (gr.length < 3) { // pas assez de chii
|
||||
return 0;
|
||||
} else if(gr.length === 3) {
|
||||
let t0 = gr[0].getTiles();
|
||||
let t1 = gr[1].getTiles();
|
||||
let t2 = gr[2].getTiles();
|
||||
if (
|
||||
t0[0].getValue() === t1[0].getValue() &&
|
||||
t0[0].getValue() === t2[0].getValue() &&
|
||||
t0[0].getFamily() !== t1[0].getFamily() &&
|
||||
t0[0].getFamily() !== t2[0].getFamily() &&
|
||||
t1[0].getFamily() !== t2[0].getFamily()
|
||||
) {
|
||||
return groups.length > 0 ? 1 : 2;
|
||||
}
|
||||
return 0;
|
||||
} else {// il y a un intrus
|
||||
return 1
|
||||
}
|
||||
},
|
||||
|
||||
ittsuu: function(
|
||||
|
|
|
|||
Loading…
Reference in a new issue