andi-mache / sokoban

A simple sokoban.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple sokoban.

License:Apache License 2.0


Languages

Language:C++ 96.8%Language:CMake 3.2%