Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.9 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.9 KB

Sokoban

{EPITECH} | First year | Unix System programming project

Sokoban (warehouse keeper in Japanese) is a type of transport puzzle, in which the player pushes boxes or crates around in a warehouse, trying to get them to storage locations. The puzzle is usually implemented as a video game. Sokoban was created in 1981 by Hiroyuki Imabayashi, and published in 1982 by Thinking Rabbit, a software house based in Takarazuka, Japan.

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 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 puzzle is solved when all boxes are at storage locations.

Develop a copy of this game in terminal mode, using the ncurses library.

See the subject for further details !

========================

1st semester Unix System programming (part I) unit

Grade : D | Mark : 2.5

Category Percentage Tests Crash ?
Usage and input checks 100% 4/4 x
Basic moves 100% 4/4 x
Basic collisions and box on targets 50% 2/4 x
Intermediate moves and collisions 50% 3/6 x
Intermediate maps tests 25% 1/4 x
Intermediate winning and losing conditions 50% 1/2 x
End scores 62.5% 15/24 No

Beware of -42 Epitech students !!!