Skip to content

catfacetaro/Warehouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warehouse

Version 2.0

Sokoban clone implemented using HTML / CSS / Javascript

Play online

  • Click here to play.

Keys

  • Arrow keys to control the player.
  • Ctrl + arrow keys to change levels.
  • Backspace to undo move.
  • Ctrl + Home to restart level.

Levels

  • Sokoban Levels (.slc files) can be downloaded from here.
  • The .slc files requires to be converted to Javascript.
  • Place the .slc files in the slcs folder.
  • Run npm install to install any dependencies.
  • Run npm run genlevels to generate src/levels.mjs file.

Local environment

  • Run npm run build to build files from the src directory into the build directory.
  • Run npm run server to run a local http server to serve the build directory.
  • Open the web browser and go to the url http://localhost:8080.

About

Sokoban clone in HTML / CSS / Javascript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published