From 3a0d29816f0142d539cb9de2fe39c8e2e5f8be88 Mon Sep 17 00:00:00 2001 From: Avior Date: Thu, 17 Dec 2020 16:37:08 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20v=C3=A9rification=20de=20vitoire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Avior --- .gitignore | 4 +- dist/front.3abc0af9.css | 26 - dist/front.3abc0af9.css.map | 1 - dist/front.3abc0af9.js | 635 ---- dist/front.3abc0af9.js.map | 1 - dist/index.html | 72 - dist/main.c39d6dcf.css | 39 - dist/main.c39d6dcf.css.map | 1 - dist/main.c39d6dcf.js | 722 ----- dist/main.c39d6dcf.js.map | 1 - dist/style.e308ff8e.css | 26 - dist/style.e308ff8e.css.map | 1 - dist/style.e308ff8e.js | 397 --- dist/style.e308ff8e.js.map | 1 - package.json | 4 + public/Game.ts | 136 +- public/index.html | 2 + public/main.ts | 19 +- public/style.css | 4 + yarn.lock | 5562 ++++++++++++++++++++++++++++++++++- 20 files changed, 5613 insertions(+), 2041 deletions(-) delete mode 100644 dist/front.3abc0af9.css delete mode 100644 dist/front.3abc0af9.css.map delete mode 100644 dist/front.3abc0af9.js delete mode 100644 dist/front.3abc0af9.js.map delete mode 100644 dist/index.html delete mode 100644 dist/main.c39d6dcf.css delete mode 100644 dist/main.c39d6dcf.css.map delete mode 100644 dist/main.c39d6dcf.js delete mode 100644 dist/main.c39d6dcf.js.map delete mode 100644 dist/style.e308ff8e.css delete mode 100644 dist/style.e308ff8e.css.map delete mode 100644 dist/style.e308ff8e.js delete mode 100644 dist/style.e308ff8e.js.map diff --git a/.gitignore b/.gitignore index b512c09..7b7faf4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -node_modules \ No newline at end of file +node_modules +.cache +dist/ diff --git a/dist/front.3abc0af9.css b/dist/front.3abc0af9.css deleted file mode 100644 index d8603c5..0000000 --- a/dist/front.3abc0af9.css +++ /dev/null @@ -1,26 +0,0 @@ -body{ - margin: 0; - padding:0; - -} -.tableContainer{ - display:flex; - align-items: center; - justify-content: center; - height: 40rem; -} -table{ - border: 2px solid; - -} -tr{ - - border: 1px solid; -} td{ - border: 1px solid; - height:10px; - width: 20px; -} - - -/*# sourceMappingURL=/front.3abc0af9.css.map */ \ No newline at end of file diff --git a/dist/front.3abc0af9.css.map b/dist/front.3abc0af9.css.map deleted file mode 100644 index c2601b3..0000000 --- a/dist/front.3abc0af9.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["style.css"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"front.3abc0af9.css","sourceRoot":"../public","sourcesContent":["body{\n\tmargin: 0;\n\tpadding:0;\n\n}\n.tableContainer{\n\tdisplay:flex;\n\talign-items: center;\n\tjustify-content: center;\n\theight: 40rem;\n}\ntable{\n\tborder: 2px solid;\n\n}\ntr{\n\n\tborder: 1px solid;\n} td{\n\tborder: 1px solid;\n\theight:10px;\n\twidth: 20px;\n}\n"]} \ No newline at end of file diff --git a/dist/front.3abc0af9.js b/dist/front.3abc0af9.js deleted file mode 100644 index 8f2d77a..0000000 --- a/dist/front.3abc0af9.js +++ /dev/null @@ -1,635 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - // - - diff --git a/dist/main.c39d6dcf.css b/dist/main.c39d6dcf.css deleted file mode 100644 index 3995f79..0000000 --- a/dist/main.c39d6dcf.css +++ /dev/null @@ -1,39 +0,0 @@ -body { - margin: 0; - padding: 0; - -} - -.tableContainer { - display: flex; - align-items: center; - justify-content: center; - height: 40rem; -} - -table { - border: 2px solid; - -} - -tr { - - border: 1px solid; -} - -td { - border: 1px solid; - height: 10px; - width: 20px; -} - -td[data-color="red"] { - background: red -} - -td[data-color="yellow"] { - background: yellow -} - - -/*# sourceMappingURL=/main.c39d6dcf.css.map */ \ No newline at end of file diff --git a/dist/main.c39d6dcf.css.map b/dist/main.c39d6dcf.css.map deleted file mode 100644 index 428240c..0000000 --- a/dist/main.c39d6dcf.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["style.css"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"main.c39d6dcf.css","sourceRoot":"../public","sourcesContent":["body {\n margin: 0;\n padding: 0;\n\n}\n\n.tableContainer {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 40rem;\n}\n\ntable {\n border: 2px solid;\n\n}\n\ntr {\n\n border: 1px solid;\n}\n\ntd {\n border: 1px solid;\n height: 10px;\n width: 20px;\n}\n\ntd[data-color=\"red\"] {\n background: red\n}\n\ntd[data-color=\"yellow\"] {\n background: yellow\n}\n"]} \ No newline at end of file diff --git a/dist/main.c39d6dcf.js b/dist/main.c39d6dcf.js deleted file mode 100644 index b9355ff..0000000 --- a/dist/main.c39d6dcf.js +++ /dev/null @@ -1,722 +0,0 @@ -// modules are defined as an array -// [ module function, map of requires ] -// -// map of requires is short require name -> numeric require -// -// anything defined in a previous bundle is accessed via the -// orig method which is the require for previous bundles -parcelRequire = (function (modules, cache, entry, globalName) { - // Save the require from previous bundle to this closure if any - var previousRequire = typeof parcelRequire === 'function' && parcelRequire; - var nodeRequire = typeof require === 'function' && require; - - function newRequire(name, jumped) { - if (!cache[name]) { - if (!modules[name]) { - // if we cannot find the module within our internal map or - // cache jump to the current global require ie. the last bundle - // that was added to the page. - var currentRequire = typeof parcelRequire === 'function' && parcelRequire; - if (!jumped && currentRequire) { - return currentRequire(name, true); - } - - // If there are other bundles on this page the require from the - // previous one is saved to 'previousRequire'. Repeat this as - // many times as there are bundles until the module is found or - // we exhaust the require chain. - if (previousRequire) { - return previousRequire(name, true); - } - - // Try the node require function if it exists. - if (nodeRequire && typeof name === 'string') { - return nodeRequire(name); - } - - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - - localRequire.resolve = resolve; - localRequire.cache = {}; - - var module = cache[name] = new newRequire.Module(name); - - modules[name][0].call(module.exports, localRequire, module, module.exports, this); - } - - return cache[name].exports; - - function localRequire(x){ - return newRequire(localRequire.resolve(x)); - } - - function resolve(x){ - return modules[name][1][x] || x; - } - } - - function Module(moduleName) { - this.id = moduleName; - this.bundle = newRequire; - this.exports = {}; - } - - newRequire.isParcelRequire = true; - newRequire.Module = Module; - newRequire.modules = modules; - newRequire.cache = cache; - newRequire.parent = previousRequire; - newRequire.register = function (id, exports) { - modules[id] = [function (require, module) { - module.exports = exports; - }, {}]; - }; - - var error; - for (var i = 0; i < entry.length; i++) { - try { - newRequire(entry[i]); - } catch (e) { - // Save first error but execute all entries - if (!error) { - error = e; - } - } - } - - if (entry.length) { - // Expose entry point to Node, AMD or browser globals - // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js - var mainExports = newRequire(entry[entry.length - 1]); - - // CommonJS - if (typeof exports === "object" && typeof module !== "undefined") { - module.exports = mainExports; - - // RequireJS - } else if (typeof define === "function" && define.amd) { - define(function () { - return mainExports; - }); - - //