Black box: Difference between revisions
Content added Content deleted
No edit summary |
(bug correction) |
||
Line 47: | Line 47: | ||
} |
} |
||
function stepBeam( sx, sy, dx, dy ) { |
function stepBeam( sx, sy, dx, dy ) { |
||
var s = brdSize - |
var s = brdSize - 2 |
||
if( dx ) { |
if( dx ) { |
||
if( board[sx][sy].H ) return {r:"H", x:sx, y:sy}; |
if( board[sx][sy].H ) return {r:"H", x:sx, y:sy}; |