Skip to content

szhen115/Sokoban

Repository files navigation

Main code files are in the core folder

Run as a libGDX project as described here

Credits:

Implementation

The main file/screen controller is Game.java.

Singleton pattern is used to create a single instance of UserData and ensure that only one copy of UserData is used per game.

State pattern is used for transitioning between game screens, with Game.java being the screen manager.

Factory pattern is used to create the entities in the game so that there is a centralized entity creator and the created units are correctly placed and reusable. Each entity is created based on the EntityTemplate.java

Command pattern is used to store moves history in sokoban puzzle game to support undo-moves

About

Sokoban

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages