diff --git a/SRC/public/css/memory.css b/SRC/public/css/memory.css index 338e8cf..fe9f7d0 100644 --- a/SRC/public/css/memory.css +++ b/SRC/public/css/memory.css @@ -119,6 +119,8 @@ img { list-style: none; margin: 0; padding: 0; + display: inline; + margin-top: 0; } .mg__start-screen--level-select span { color: #ff3c50; diff --git a/SRC/public/js/memory.js b/SRC/public/js/memory.js index 28bbb2c..9951477 100644 --- a/SRC/public/js/memory.js +++ b/SRC/public/js/memory.js @@ -1,16 +1,3 @@ -/** - * Memory Game - * - * This is the wrapper function for my memory game! It contains all of the core - * functionality for the game to run. - * - * Licensed under the MIT license. - * http://www.opensource.org/licenses/mit-license.php - * - * Copyright 2014, Call Me Nick - * http://callmenick.com - */ - ;(function( window ) { 'use strict'; @@ -197,6 +184,8 @@ this.flippedTiles = 0; this.chosenLevel = ""; this.numMoves = 0; + // var niveauChoisi = 0; + // if (this.chosenLevel) == "1" {niveauChoisi = '';} if(this.chosenLevel) == "2" {niveauChoisi = '';} else {niveauChoisi = '';} this.gameMetaHTML = '
\ '; this.gameMeta.innerHTML = this.gameMetaHTML; this.game.appendChild(this.gameMeta); @@ -217,13 +206,15 @@ // this.gameStartScreenHTML = 'blablabla
\