Skip to content

🧱 A reproduction of the japanese sokoban game with the ncurses library in C. Done on my 1st year at Epitech

License

Notifications You must be signed in to change notification settings

VictorHarri-Chal/Sokoban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my_sokoban

SOKOBAN

About The Project

The player is confined to the board, and may move horizontally or vertically onto empty squares (never through walls or boxes). The player can also move into a box, which pushes it into the square beyond. Boxes may not be pushed into other boxes or walls, and they cannot be pulled. The number of boxes is equal to the number of storage locations. The puzzle is solved when all boxes are at storage locations, the puzzle is failed if all boxes are stuck.

Requirements

  • GCC
  • NCURSES library

Getting Started

Execute make then ./my_sokoban map.txt

You can edit the map file representing the warehouse map, it must have the same amount of boxes X and storage locations O. The player is represented by a P and walls by #.

MY_SOKOBAN

About

🧱 A reproduction of the japanese sokoban game with the ncurses library in C. Done on my 1st year at Epitech

Topics

Resources

License

Stars

Watchers

Forks