mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
19991201
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
40517ecac8
commit
a3f29338ad
13 changed files with 336 additions and 108 deletions
|
@ -81,7 +81,7 @@ class Board
|
|||
elsif y < 0 then 0
|
||||
elsif y >= @hi then 0
|
||||
else
|
||||
@data[x*@wi+y]
|
||||
@data[y*@wi+x]
|
||||
end
|
||||
end
|
||||
def count(x,y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue