Skip to content

Commit

Permalink
Removed unnecessary logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacc committed Nov 13, 2011
1 parent 59f7447 commit 1cc6111
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lifeforce.coffee.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,15 @@ countneighbors = (x,y) ->

if x == 0 then westindex = 639
else westindex = x - 1
console.log "westindex = " + westindex

if x == 639 then eastindex = 0
else eastindex = x + 1
console.log "eastindex = " + eastindex

if y == 0 then northindex = 359
else northindex = y - 1
console.log "northindex = " + northindex

if y == 359 then southindex = 0
else southindex = y + 1
console.log "southindex = " + southindex

if world[westindex][northindex] == true then total++
if world[x][northindex] == true then total++
Expand Down

0 comments on commit 1cc6111

Please sign in to comment.