"use strict";var _createClass=function(){function n(t,e){for(var i=0;ithis.historyScore&&(this.updateHistoryScore(this.score),this.historyScore=this.score),this.scoreSpan.innerHTML=this.score,this.historyscoreSpan.innerHTML=this.historyScore}},{key:"updateHistoryScore",value:function(t){localStorage.setItem("donttouchwhiteClassics",t)}},{key:"start",value:function(){this.status=1,this.init();for(var t=0;t<7;t++)this.container.appendChild(this.setRow());this.timeout(this.timeContainer,this.second)}},{key:"setRow",value:function(){var t=document.createElement("div");return t.innerHTML='
'+this.setCube(this.getRandom())+"
",t.firstChild}},{key:"setCube",value:function(t){for(var e=1';return i}},{key:"getRandom",value:function(){return parseInt(4*Math.random(),10)}}]),e}();