class Game
- Game
- Reference
- Object
Defined in:
2048.crConstructors
Instance Method Summary
- #can_move?
- #can_move_in?(direction)
- #draw
- #drawable_grid
- #each_cell_with_index(&)
- #end_game(msg)
- #execute_action(action)
- #insert_tile
- #lost?
- #merge_tiles(direction, drow, dcol)
- #movable_tiles(direction, drow, dcol, &)
- #offsets_for(direction)
- #read_action
- #run
- #shift_grid(direction)
- #shift_tiles_to_empty_cells(direction, drow, dcol)
- #to_border?(direction, row, col, drow, dcol)
- #won?