Mobile Applications Development II (TAMZ2)

Lab 4 - Canvas, Sokoban

Sokoban Sokoban is a classic puzzle game where the player moves boxes (or crates) around a warehouse, trying to push them onto designated storage locations (targets). The player can only push boxes (not pull them) and only one at a time, which makes each level a logical challenge that requires planning and careful moves.

Goal

Create your own implementation of Sokoban. You may design your own graphics, controls, and interface — the main task is to correctly handle the game logic (movement, pushing boxes, checking win conditions, loading levels, etc.).

Levels

Sokoban levels in XML/TXT

Example sourcecode

Simple implementation of game view

Game tiles: