Skip to content

toukay/sokoban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sokoban

Level Design

A simple 2D Sokoban game created in Unity.

You can download the Pc build, or you can play the WebGL build directly in a browser here.

Overview

This project is a classic Sokoban puzzle game where the player pushes boxes to designated target locations.

Features

  • 2D top down view.
  • Grid based movement.
  • Undo / Redo movement history.
  • 5 challenging levels.
  • Pause, Resume, and Restart level functionality.
  • Resolution, Quality, and Audio settings.
  • Interactive sound effects and music.
  • UI menues.

Attribution

2D and UI Assets:

Audio:

Development Notes

  • Used Command design pattern for movement and undo/redo features.

  • Levels are designed and loaded from text files. The keys are as follows:

    • #: Wall
    • .: Empty Space
    • @: Player Start Position
    • C: Crate
    • T: Target Spot (where the crates need to be moved)

    Level Design

  • Used Unity's New Input System for taking input.

About

2d Sokoban game in Unity

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors