Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

ShenMian/sokoban-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sokoban-cpp

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