Module: RSokoban
- Included in:
- UI::SetDialog, UI::SkinDialog, UI::TkUI
- Defined in:
- lib/rsokoban.rb,
lib/rsokoban/ui.rb,
lib/rsokoban/man.rb,
lib/rsokoban/map.rb,
lib/rsokoban/crate.rb,
lib/rsokoban/level.rb,
lib/rsokoban/config.rb,
lib/rsokoban/record.rb,
lib/rsokoban/install.rb,
lib/rsokoban/storage.rb,
lib/rsokoban/moveable.rb,
lib/rsokoban/position.rb,
lib/rsokoban/exception.rb,
lib/rsokoban/game/game.rb,
lib/rsokoban/level_set.rb,
lib/rsokoban/raw_level.rb,
lib/rsokoban/set_loader.rb,
lib/rsokoban/layered_map.rb,
lib/rsokoban/move_result.rb,
lib/rsokoban/game/game_tk.rb,
lib/rsokoban/game/game_ui.rb,
lib/rsokoban/game/game_gui.rb,
lib/rsokoban/move_recorder.rb,
lib/rsokoban/game/game_curses.rb,
lib/rsokoban/game/game_factory.rb,
lib/rsokoban/game/game_portable.rb
Overview
I am the main module of the game.
Defined Under Namespace
Modules: Game, GameFactory, GameGUI, GameUI, Moveable, UI Classes: Config, Crate, EmptyMoveQueueError, EmptyRedoError, GameCurses, GamePortable, GameTk, Install, LayeredMap, Level, LevelNumberTooHighError, LevelSet, Man, Map, MoveRecorder, MoveResult, NoFileError, Position, RawLevel, Record, SetLoader, Storage
Constant Summary collapse
- MAN =
Game elements. Those constants are used intensively.
'@'
- FLOOR =
' '
- CRATE =
'$'
- STORAGE =
'.'
- WALL =
'#'
- MAN_ON_STORAGE =
'+'
- CRATE_ON_STORAGE =
'*'
- OUTSIDE =
'o'
- CONFIG_FOLDER =
config files will go in this folder
File. "~/.rsokoban"
- CONFIG_FILE =
primary config file
'config'
- RECORD_FOLDER =
Record files will go in this folder
File. "~/.rsokoban/record"