https://github.com/dvampire/sokoban-mini
Simple HTML Sokoban web mini-game.
https://github.com/dvampire/sokoban-mini
Last synced: 6 months ago
JSON representation
Simple HTML Sokoban web mini-game.
- Host: GitHub
- URL: https://github.com/dvampire/sokoban-mini
- Owner: DVampire
- Created: 2025-09-24T20:45:58.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-09-24T20:46:57.000Z (6 months ago)
- Last Synced: 2025-09-24T22:32:41.780Z (6 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sokoban Mini
A tiny Sokoban web mini-game built with vanilla HTML, CSS, and JavaScript.
- Move with Arrow keys or WASD
- Push the box onto the goal to win
- Press R or click Reset to restart
## Run locally
Just open `index.html` in your browser. No build tools required.
## Files
- `index.html` – page markup and container for the game grid
- `style.css` – minimal styling for walls, floor, goal, box, and player
- `main.js` – game logic: input handling, rendering, collision/push rules, win detection
## Publishing (optional)
You can enable GitHub Pages in your repository settings and select the `main` branch (root) to serve the game online.
## License
MIT