2020 PD2 Project2

Sokoban

Sokoban

Introduction

ground

wall

storage

location

player

box

Text

Squares

Rules

  1. Player is confined to a board of squares and move horizontally or vertically onto empty squares.
  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

    • 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%)

    • ​Video : play your game and clear the stage

    • README : Write your game features

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

  • Back step & show the number of steps

  • Saved Game

Bonus-20%

More features or your special game features

Must do ...

1. Video & README

2. Video: upload to YouTube

3. README : video link, features, bonus

Qt

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

Tutorial

GUI

Signals and Slots

Events

Graphics View Framework

  • View
  • Scene
  • Item

Scene

Items

Scene

Items

View

Coordinate system

(0,0)

x-axis

y-axis

Add Resource file

Add C++ Class

Deadline 4/28 23:59

Don't upload these to GitLab:

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

Copy of 2020 PD2 Project2

By Jang-Ping Wu

Copy of 2020 PD2 Project2

  • 91