2020 PD2 Project2

Sokoban

Sokoban

Introduction

ground

wall

storage

location

player

box

Squares

x-axis:8 squares

y-axis:9 squares

Rules

  1. Player is confined to a board of squares and move horizontally or vertically.
  2. Player can walk on the ground but can not walk through walls and boxes.
  3. Player can push boxes but can't pull boxes.
  4. Boxes cannot be pushed to squares with walls or other boxes.
  5. The number of boxes equals the number of storage locations.
  6. The game is finished when all boxes are placed at storage locations.

Requirment

Basic - 70%

  • Build map (5%)

    • Map is at least 5 x 5 (squares)

    • storage location>=3, boxes>=3

  • Player can be controlled (5%)

  • Playable & follow the rules (30%)

  • Restart game (10%)

  • Levels(10%)

    • At least 2 levels

    • Can go to next level when clear the stage

  • Must have Video & README (10%)

Requirment

Features - 30% (10% every  feature)

  • Main menu

    • Start game

    • Choose Levels

    • Quit game

  • Game items that can change map

    • ex: bombs

  • Collection : get coins or other items and exchange points or something

  • Other special methods of clearing stages

  • Show the number of steps

  • Saved Game

Bonus

More features or your special game features

Must do ...

  • Video & README
  • Video : play your game and clear the stage
  • Upload your video to YouTube
  • README
    • video link
    • how to play
    • features
    • bonus

Qt

  • Cross-platform
  • GUI
  • C++ library
  • Modules

Tutorial

Signals and Slots

Events

Add Resource file

Add C++ Class

Deadline 5/12 23:59

Please fork this repo first

 

Click to configure project

Don't modify .gitignore file!

Don't remove .pro file!

  • .o files
  • executable files
  • build-XXXX folder
  • .pro.user files
  • moc_XXXX.cpp/.h generated by Qt

Don't upload these to GitLab

2020 PD2 Project2

By Jang-Ping Wu

2020 PD2 Project2

  • 1,993