---
# System prepended metadata

title: Card game

---

# Card game

## Glossary

| Name | Description |
| ---- | ----------- |
| Card | A container that contains multiple images |
| Deck | A deck contains 1 to many cards |
| Board | A board contains multiple decks, all cards can only be drag within the board |

## Requirements

### Card

1. consider cards as `gameobject.Container`
2. card should be a combination of multiple images
3. card should be draggable
4. card should be able to drop on top of another card
5. 


### Deck 

1. consider deck as `gameobject.Container` that contains multiple cards
2. depth sorting of cards should be correct
3. dragging deck will also move multiple cards
4. apply physics engine to decks
5. when dragging, disable the physics collider
6. When drag event end, no deck will be 

### Board

1. consider board as `scene`
2. Deck can only drag within a board
3. 