Compare commits
3 Commits
master
...
RaphouBran
Author | SHA1 | Date |
---|---|---|
|
e2b718624c | 2 years ago |
|
90de25cc81 | 2 years ago |
|
24ef8900a6 | 2 years ago |
@ -0,0 +1,34 @@
|
||||
|
||||
console.log('Debut de l\'execution');
|
||||
|
||||
/*setTimeout(function () {
|
||||
let fin = new Date().getTime();
|
||||
let tempsEcoule = fin - debut;
|
||||
console.log("Temps ecoulé : " + tempsEcoule + " millisecondes");
|
||||
|
||||
}, 5000);
|
||||
*/
|
||||
|
||||
let ite = 0;
|
||||
let cpt=0
|
||||
|
||||
while (ite < 5) {
|
||||
let deck = new Deck([0, 1, 2, 3], 4);
|
||||
|
||||
let debut = new Date().getTime()
|
||||
|
||||
numberOfSets3(deck.outputCards)
|
||||
//numberOfHyperset2(deck.outputCards)
|
||||
|
||||
|
||||
|
||||
let fin = new Date().getTime()
|
||||
let tempsEcoule = fin - debut
|
||||
console.log("Temps ecoule : " + tempsEcoule + " millisecondes")
|
||||
|
||||
cpt = cpt + tempsEcoule
|
||||
ite=ite+1
|
||||
}
|
||||
|
||||
console.log(cpt/5)
|
||||
|
@ -0,0 +1,96 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Tutorial</title>
|
||||
<!-- <base href="https://codefirst.iut.uca.fr/containers/HyperSet-hyperset/"> -->
|
||||
<link rel="stylesheet" type="text/css" href="../styles/style.css">
|
||||
<link rel="stylesheet" type="text/css" href="../styles/index.css">
|
||||
</head>
|
||||
|
||||
|
||||
<header>
|
||||
<ul id="nav-bar">
|
||||
<li><a href="../index.html">Home</a></li>
|
||||
<li><a href="./cards-test.html">Card Test</a></li>
|
||||
<li><a href="./tutorial.html">Tutorial</a></li>
|
||||
<li><a href="./leaderboard.html">Leaderboard</a></li>
|
||||
<li><a href="./about.html">About</a></li>
|
||||
</ul>
|
||||
</header>
|
||||
|
||||
<body>
|
||||
<div id="horizontale-center">
|
||||
<h2>BEST SCORES</h2>
|
||||
<br /><br />
|
||||
|
||||
|
||||
<form action="#">
|
||||
<div id="div-all-select">
|
||||
|
||||
|
||||
<div id="div-select">
|
||||
<h5>Select a type of game</h5>
|
||||
<select name="pets" id="high-score-option">
|
||||
<option value="T0">--Choose an option--</option>
|
||||
<option value="T1">Set</option>
|
||||
<option value="T2">Hyperset</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="div-select">
|
||||
<h5>Select a variant</h5>
|
||||
<select name="pets" id="high-score-option">
|
||||
<option value="V0">--Choose an option--</option>
|
||||
<option value="V1">3*3</option>
|
||||
<option value="V2">3*4</option>
|
||||
<option value="V3">3*5</option>
|
||||
<option value="V4">4*4</option>
|
||||
<option value="V5">4*5</option>
|
||||
<option value="V6">5*5</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<input type="submit" value="Submit" />
|
||||
</form>
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Tableau des meilleures scores</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>The table body</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>The table body</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>The table body</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>The table body</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>The table body</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in new issue