Skip to content

I coded the famous SOKOBAN game in C with the Ncurses library

Notifications You must be signed in to change notification settings

gmorinn/my_sokoban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my_sokoban

Sokoban is a puzzle video game genre in which the player pushes crates or boxes around in a warehouse, trying to get them to storage locations.

The game is played on a board of squares, where each square is a floor or a wall. Some floor squares contain boxes, and some floor squares are marked as storage locations.

The player is confined to the board and may move horizontally or vertically onto empty squares (never through walls or boxes). The player can move a box by walking up to it and push it to the square beyond. Boxes cannot be pulled, and they cannot be pushed to squares with walls or other boxes. The number of boxes equals the number of storage locations. The puzzle is solved when all boxes are placed at storage locations.

To start the project

"Make re" in a terminal command and "./my_sokoban test_map"

Press 'q' to stop the game

Press space bar to reset the map

About

I coded the famous SOKOBAN game in C with the Ncurses library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published