-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: repeair multiple hackz + small other fixes
- Loading branch information
Showing
16 changed files
with
393 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{{define "title"}}Coolz 2048{{end}} | ||
{{define "h1"}}2048 {{mot_cool}}{{end}} | ||
{{define "h1small"}}Ce n'est qu'une translation{{end}} | ||
|
||
{{define "content"}} | ||
<div class="row deuxmillesquarantehuit"> | ||
<div class="container"> | ||
<div class="heading"> | ||
<div class="scores-container"> | ||
<div class="score-container">0</div> | ||
<div class="best-container">0</div> | ||
</div> | ||
<a class="restart-button">Recommencer</a> | ||
</div> | ||
|
||
<div class="game-container"> | ||
<div class="game-message"> | ||
<p></p> | ||
<div class="lower"> | ||
<a class="keep-playing-button">Continuer</a> | ||
<a class="retry-button">Encore</a> | ||
</div> | ||
</div> | ||
|
||
<div class="grid-container"> | ||
<div class="grid-row"> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
</div> | ||
<div class="grid-row"> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
</div> | ||
<div class="grid-row"> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
</div> | ||
<div class="grid-row"> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
<div class="grid-cell"></div> | ||
</div> | ||
</div> | ||
|
||
<div class="tile-container"> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
|
||
<link href="/hackz/2048/style/main.css" rel="stylesheet" type="text/css"> | ||
<script src="/hackz/2048/js/bind_polyfill.js"></script> | ||
<script src="/hackz/2048/js/classlist_polyfill.js"></script> | ||
<script src="/hackz/2048/js/animframe_polyfill.js"></script> | ||
<script src="/hackz/2048/js/keyboard_input_manager.js"></script> | ||
<script src="/hackz/2048/js/html_actuator.js"></script> | ||
<script src="/hackz/2048/js/grid.js"></script> | ||
<script src="/hackz/2048/js/tile.js"></script> | ||
<script src="/hackz/2048/js/local_storage_manager.js"></script> | ||
<script src="/hackz/2048/js/game_manager.js"></script> | ||
<script src="/hackz/2048/js/application.js"></script> | ||
{{end}} | ||
|
||
{{define "secondary_column"}} | ||
<h2>Hackzers les plus {{ mot_cool }} <small>pour l'instant</small></h2> | ||
LES SCORES SONT CASSÉS! | ||
<ul> | ||
{{/* | ||
{% for scor in hackzers %} | ||
<li>#{{ loop.index }} {{ scor.login }} avec {{ scor.score }} {{ mot_debile_qui_se_mange() }} le {{ scor.created_at}}</li> | ||
{% endfor %} | ||
*/}} | ||
</ul> | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{define "title"}}3615 CRYPTAGE{{end}} | ||
{{define "h1"}}3615 CRYPTAGE{{end}} | ||
{{define "h1small"}}(James Bond, etc.){{end}} | ||
|
||
{{define "content"}} | ||
<iframe src="/hackz/3615cryptage/index.html?" frameborder="0" width="100%" class="iframe-auto-height"></iframe> | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{{define "title"}}Calculatrice.exe{{end}} | ||
{{define "h1"}}Calculatrice.exe{{end}} | ||
{{define "h1small"}}(c'est comme des maths, mais en {{mot_cool}}){{end}} | ||
|
||
{{define "content"}} | ||
<div id="calculatrice_frame"> | ||
<form name="calculatrice"> | ||
<table border="4" cellpadding="8" bgcolor="#808080"> | ||
<tr> | ||
<td align="center" colspan="4" bgcolor="#0000FF"><input | ||
type="text" size="30" maxlength="30" name="affichage" | ||
readonly> </td> | ||
</tr> | ||
<tr> | ||
<td align="center" width="25%"><input type="button" value=" 7 " onclick="Ajout('7')"></td> | ||
<td align="center" width="25%"><input type="button" value=" 8 " onclick="Ajout('8')"></td> | ||
<td align="center" width="25%"><input type="button" value=" 9 " onclick="Ajout('9')"></td> | ||
<td align="center" width="25%" bgcolor="#FFFF00"><input type="button" value=" + " onclick="Ajout('+')"> </td> | ||
</tr> | ||
<tr> | ||
<td align="center"><input type="button" value=" 4 " onclick="Ajout('4')"></td> | ||
<td align="center"><input type="button" value=" 5 " onclick="Ajout('5')"></td> | ||
<td align="center"><input type="button" value=" 6 " onclick="Ajout('6')"></td> | ||
<td align="center" bgcolor="#FFFF00"><input type="button" value=" - " onclick="Ajout('-')"> </td> | ||
</tr> | ||
<tr> | ||
<td align="center"><input type="button" value=" 1 " onclick="Ajout('1')"></td> | ||
<td align="center"><input type="button" value=" 2 " onclick="Ajout('2')"></td> | ||
<td align="center"><input type="button" value=" 3 " onclick="Ajout('3')"></td> | ||
<td align="center" bgcolor="#FFFF00"><input type="button" value=" * " onclick="Ajout('*')"> </td> | ||
</tr> | ||
<tr> | ||
<td align="center"><input type="button" value=" 0 " onclick="Ajout('0')"></td> | ||
<td align="center"><input type="button" value=" , " onclick="Ajout('.')"></td> | ||
<td align="center" bgcolor="#FFFF00"><input type="button" value=" = " onclick="Resultat()"> </td> | ||
<td align="center" bgcolor="#FFFF00"><input type="button" value=" / " onclick="Ajout('/')"> </td> | ||
</tr> | ||
<tr> | ||
<td align="center" bgcolor="#008000"><input type="button" value=" sqrt " onclick="Fonction('sqrt')"> </td> | ||
<td align="center" bgcolor="#008000"><input type="button" value=" exp " onclick="Fonction('exp')"> </td> | ||
<td align="center" bgcolor="#008000"><input type="button" value=" log " onclick="Fonction('log')"> </td> | ||
<td align="center" bgcolor="#FF0000"><input type="button" value=" C " onclick="Supprim()"> </td> | ||
</tr> | ||
</table> | ||
</form> | ||
</div> | ||
|
||
<!--<script src="/hackz/calculatrice.exe/calculatrice.exe.js"></script>--> | ||
<script> | ||
// Calcul du résultat | ||
function Resultat() | ||
{ | ||
//document.calculatrice.affichage.value = eval(document.calculatrice.affichage.value) | ||
document.calculatrice.affichage.value = Math.floor(Math.random() * 10000000) - 5000000; | ||
} | ||
|
||
// Supprimer la valeur | ||
function Supprim() | ||
{ | ||
document.calculatrice.affichage.value = "" | ||
} | ||
|
||
// Ajouter signe | ||
function Ajout(Signe) | ||
{ | ||
document.calculatrice.affichage.value += Signe | ||
} | ||
|
||
// Calcul de fonction spéciale | ||
function Fonction(FctName) | ||
{ | ||
document.calculatrice.affichage.value = | ||
Math[FctName](eval(document.calculatrice.affichage.value)) | ||
} | ||
</script> | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{define "title"}}Hack cassé{{end}} | ||
{{define "h1"}}Hack {{mot_cool}}, mais cassé{{end}} | ||
{{define "h1small"}}travaux {{mot_cool_pluriel}} en cours{{end}} | ||
|
||
{{define "content"}} | ||
Je reviendrai. | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{define "title"}}Hack cassé{{end}} | ||
{{define "h1"}}Hack {{mot_cool}}, mais cassé{{end}} | ||
{{define "h1small"}}travaux {{mot_cool_pluriel}} en cours{{end}} | ||
|
||
{{define "content"}} | ||
Je reviendrai. | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{define "title"}}Hack cassé{{end}} | ||
{{define "h1"}}Hack {{mot_cool}}, mais cassé{{end}} | ||
{{define "h1small"}}travaux {{mot_cool_pluriel}} en cours{{end}} | ||
|
||
{{define "content"}} | ||
Je reviendrai. | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{define "title"}}Hack cassé{{end}} | ||
{{define "h1"}}Hack {{mot_cool}}, mais cassé{{end}} | ||
{{define "h1small"}}travaux {{mot_cool_pluriel}} en cours{{end}} | ||
|
||
{{define "content"}} | ||
Je reviendrai. | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{define "title"}}Hack cassé{{end}} | ||
{{define "h1"}}Hack {{mot_cool}}, mais cassé{{end}} | ||
{{define "h1small"}}travaux {{mot_cool_pluriel}} en cours{{end}} | ||
|
||
{{define "content"}} | ||
Je reviendrai. | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{{define "title"}}Ultreme Tetris{{end}} | ||
{{define "h1"}}Ultreme Tetris{{end}} | ||
{{define "h1small"}}<b>{{ .niveau }}ème</b> niveau de difficulté{{end}} | ||
|
||
{{define "content"}} | ||
{{/* {% include '../../../hackz/tetris_v2/app.html' %} */}} | ||
<div id="tetris"> | ||
<canvas id="canvas"> | ||
Désolé, ce tetris n'est pas géré par votre navigateur. | ||
</canvas> | ||
</div> | ||
{{end}} | ||
|
||
{{define "secondary_column"}} | ||
<div class="row"> | ||
<div class="col-xs-4 col-sm-4 col-md-12 col-lg-12"> | ||
<p><canvas id="upcoming"></canvas></p> | ||
</div> | ||
<div class="col-xs-4 col-sm-5 col-md-12 col-lg-12"> | ||
<p id="start" class="pulse2"><a href="javascript:play();">Appuyez sur espace pour commencer.</a></p> | ||
<p>score <span id="score">00000</span></p> | ||
<p>lignes <span id="rows">0</span></p> | ||
<hr class="hidden-xs hidden-sm" /> | ||
</div> | ||
<div class="col-xs-4 col-sm-3 col-md-12 col-lg-12"> | ||
<div><label>Niveaux ça va</label></div> | ||
<div class="btn-group"> | ||
<a class="btn btn-primary {{ if eq .niveau "1" }}disabled{{ end }}" href="?niveau=1" />1</a> | ||
<a class="btn btn-primary {{ if eq .niveau "2" }}disabled{{ end }}" href="?niveau=2" />2</a> | ||
<a class="btn btn-primary {{ if eq .niveau "42" }}disabled{{ end }}" href="?niveau=42" />4.2</a> | ||
<a class="btn btn-primary {{ if eq .niveau "5" }}disabled{{ end }}" href="?niveau=5" />5</a> | ||
</div> | ||
<div><label>Niveaux Danger</label></div> | ||
<div class="btn-group"> | ||
<a class="btn btn-danger {{ if eq .niveau "6" }}disabled{{ end }}" href="?niveau=6" />6</a> | ||
<a class="btn btn-danger {{ if eq .niveau "8" }}disabled{{ end }}" href="?niveau=8" />8</a> | ||
</div> | ||
<hr class="hidden-xs hidden-sm" /> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div> | ||
<h2>Hackzers les plus {{ mot_cool }} <small>pour l'instant</small></h2> | ||
LES SCORES SONT CASSÉS POUR LE MOMENT | ||
<ul> | ||
{{/* | ||
{{ for scor in hackzers }} | ||
<li>#{{ loop.index }} {{ scor.login }} avec {{ scor.score }} {{ mot_debile_qui_se_mange() }} le {{ scor.created_at}}</li> | ||
{{ endfor }} | ||
*/}} | ||
</ul> | ||
</div> | ||
</div> | ||
{{end}} | ||
|
||
{{define "extra_js"}} | ||
<link href="/hackz/tetris_v2/style.css" rel="stylesheet" /> | ||
<script src="/hackz/tetris_v2/script.js"></script> | ||
{{end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.