Sokoban

Sokoban

My implmentation of the classic game Sokoban in Java using Raylib.

Dependencies

  • Jaylib - A Java binding for Raylib

Assets are from Kenney.nl

How to play?

  • Arrow keys to move the player
  • Press R to restart the level
  • Press NumPad 1 - for 1 crate
  • Press NumPad 2 - for 2 crates
  • Press NumPad 3 - for 3 crates
  • Press NumPad 4 - for 4 crates
  • Press NumPad 5 - for 5 crates

Program arguments

  • java -jar sokoban.jar 10 10 3 - to start the game with 10x10 grid and 3 crates
  • java -jar sokoban.jar 10 10 - to start the game with 10x10 grid and default crates (which is 1)

Technologies

Java

Raylib

Gallery

project thumbnail

Links