Sokoban

A modern implementation of the classic Sokoban puzzle game using HTML5 Canvas and JavaScript.

Sokoban Game

About the Game

Sokoban (倉庫番, "warehouse keeper") is a puzzle game where the player pushes boxes around a maze, viewed from above, and tries to put them in designated locations. The game was created in 1981 by Hiroyuki Imabayashi.

Sokoban Gameplay

Features

  • 50 challenging levels - From beginner to expert difficulty
  • Smooth animations - Fluid player and box movements
  • Multiple languages - Supports English, Spanish, German, French, and many more
  • Sound effects and music - Immersive audio experience with toggle options
  • Score tracking - Time, moves, and pushes are tracked for each level
  • Responsive design - Play on any device with adaptive layout
  • Touch controls - Mobile-friendly interface with virtual buttons
  • Level select - Pick any level to play
  • Auto-save - Your progress is saved automatically
  • Idle animations - The character performs special animations when idle

How to Play

  1. Use the arrow keys (keyboard) or touch controls (mobile) to move the player character
  2. Push boxes onto the goal positions (marked with a different color)
  3. Once all boxes are on goal positions, the level is complete
  4. Try to complete each level in the minimum number of moves


Source code available: https://github.com/klevze/sokoban

Leave a comment

Log in with itch.io to leave a comment.