Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
gol
main
Top Level Namespace
Gol
Cell
World
Built with Crystal 1.10.0
2023-12-22 06:16:09 UTC
class
Gol::
World
Gol::World
Reference
Object
Defined in:
gol/world.cr
Constructors
.new
(lines : Int32, columns : Int32)
Instance Method Summary
#cells?
#columns?
#lines?
#modifyCell
(c : Cell)
#print
#printValues
#run
#sprint
: String
Constructor Detail
def self.
new
(lines : Int32, columns : Int32)
#
[
View source
]
Instance Method Detail
def
cells?
#
[
View source
]
def
columns?
#
[
View source
]
def
lines?
#
[
View source
]
def
modifyCell
(c :
Cell
)
#
[
View source
]
def
print
#
[
View source
]
def
printValues
#
[
View source
]
def
run
#
[
View source
]
def
sprint
: String
#
[
View source
]