class

Aisweeper::Board

Inherits Reference < Object

Constructors

Class methods

all(storage_base_path : Path = Aisweeper::BoardStore::DEFAULT_BASE_PATH)
Source
find(id : String, storage_base_path : Path = Aisweeper::BoardStore::DEFAULT_BASE_PATH)
Source
find_or_create(id = Random.new.hex(3), x : UInt8 = 10, y : UInt8 = 10, infested : UInt8 = 10, storage_base_path : Path = Aisweeper::BoardStore::DEFAULT_BASE_PATH)
Source

Instance methods

delete
Source
left_click(x : Int8, y : Int8)
Source
neighbouring_infested_tiles(x : Int8, y : Int8)
Source
neighbouring_tiles(x : Int8, y : Int8)
Source
right_click(x : Int8, y : Int8)
Source
rows
Source
stats
Source
status
Source
store
Source
tile_at(x : Int8, y : Int8)
Source

Nested types