Skip to content

Commit

Permalink
Added in engine js for the game
Browse files Browse the repository at this point in the history
  • Loading branch information
temp authored and temp committed May 12, 2012
1 parent 5b86a05 commit 10eb9c0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 24 deletions.
42 changes: 21 additions & 21 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,41 @@ <h1>code machine</h1>
<li>?</li>
<li>?</li>
<li>?</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
<li>10</li>
<li>body</li>
<li>a</li>
<li>head</li>
<li>title</li>
<li>h2</li>
<li>h1</li>
<li>ol</li>
</ul>
</li>
<li>
<ul class="roller">
<li>?</li>
<li>?</li>
<li>?</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
<li>10</li>
<li>hr</li>
<li>head</li>
<li>li</li>
<li>ul</li>
<li>p</li>
<li>h1</li>
<li>a</li>
</ul>
</li>
<li>
<ul class="roller">
<li>?</li>
<li>?</li>
<li>?</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
<li>10</li>
<li>canvas</li>
<li>table</li>
<li>ol</li>
<li>li</li>
<li>ul</li>
<li>h1</li>
<li>td</li>
</ul>
</li>
</ul>
Expand Down
4 changes: 1 addition & 3 deletions library/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,17 @@ var roller = (function() {
var html = '';

for(var i=start; i<stop; i++) {

for( var k in game.collection[i] ) {
html += '<li>' + k + '</li>';
};


}

$(this).append(html);

if (numRunning === 0) {
running = false;
$start.removeClass('disabled');
$('#counter').text( game.score );
}
}
})
Expand Down

0 comments on commit 10eb9c0

Please sign in to comment.