DreambotSlayer

Le pro-s typique de GDC

by Omegnight

HTML

<button align=center id=button>DreamboumSlayer poste un argument</button>
<br><br>
<h3 id=argument></h3>

CSS

button {
  background-color: #008CBA;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

button:hover {
  background-color: #22AFCB;
}

#argument {
  display: block;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  color: #333333;
  font-family: Verdana, Geneva, sans-serif;
}

JavaScript

var games = {
  "God of War": "Sony",
  "Ratchet": "Sony",
  "Breath of the Wild": "Nintendo",
  "Forza": "Microsoft",
  "Star Citizen": "PC",
  "Horizon": "Sony",
  "Bloodborne": "Sony",
  "BotW": "Nintendo",
  "Mario Odyssey": "Nintendo",
  "Halo": "Microsoft",
  "Warcraft": "PC",
  "Octopath Traveler": "Nintendo",
  "Pillars of Eternity": "PC",
  "Recore": "Microsoft",
  "Sea of Thieves": "Microsoft",
  "The Last Guardian": "Sony",
  "Yakuza 6": "Sony",
  "Persona 5": "Sony",
  "Pokémon Lets Go": "Nintendo",
  "Planescape Torment": "PC",
  "Fable": "Microsoft",
  "Starcraft": "PC",
  "TLOU": "Sony",
  "State of Decay": "Microsoft",
  "Days Gone": "Sony",
  "Age of Empire": "Microsoft",
  "Uncharted": "Sony",
  "The Order": "Sony",
  "Knack": "Sony",
  "Crackdown 3": "Microsoft",
  "Kirby": "Nintendo",
  "Mario Kart": "Nintendo",
  "Super Smash Bros": "Nintendo",
  "Cuphead": "Microsoft",
  "Metroid": "Nintendo",
  "Detroit": "Sony",
  "Ori": "Microsoft",
  "Xenoblade": "Nintendo",
  "DriveClub": "Sony",
  "Quantum Break": "Microsoft"
};

//m = masculin, f = féminin
//s = singulier, p = pluriel
var criteres = {
  "un gameplay": "ms",
  "des musiques": "fp",
  "un personnage principal": "ms",
  "des graphismes": "mp",
  "un level design": "ms",
  "un game design": "ms",
  "un sound design": "ms",
  "une direction artistique": "fs",
  "une DA": "fs",
  "une narration": "fs",
  "un scénario": "ms",
  "un système de jeu": "ms",
  "un scénario (et ne confonds pas histoire et scénario stp)": "ms",
  "une profondeur": "fs",
  "des dialogues": "mp",
  "une fin": "fs",
  "des finitions": "fp",
  "des boss": "mp",
  "des contrôles": "fp",
  "des développeurs": "mp",
  "un moteur": "ms"
};

var melioratif = [
  "m:génial,f:géniale,mp:géniaux,fp:géniales",
  "m:viscéral,f:viscérale,mp:viscéraux,fp:viscérales",
  "a:à faire jouir",
  "a:aux petits oignons",
  "a:top tier",
  "m:bouleversant,f:bouleversante,mp:bouleversants,fp:bouleversantes",
 ...