/sokoban

A simple sokoban.

Primary LanguageC++Apache License 2.0Apache-2.0

Sokoban

CodeFactor

A simple sokoban, using SFML framework.

Features

  • Mouse control: move character, select & drop crates.
  • Undo/undo all.
  • Automatically save and restore session.
  • Autosave best solutions.
  • Save opened levels.
  • Show dead crates: freeze deadlocks detection.
  • Rotate level map.
  • Resize map to fit window.

Keymap

Key Action
W/A/S/D Move the character
Up/Down/Left/Right Move the character
H/J/K/L Move the character
Esc Reload current level
BackSpace Single step undo
R Rotate map clockwise
-/= Switch to the previous/next level
P Replay solution
Ctrl + I Switch instant move
Ctrl + V Import level from clipboard

Assets