Home

Awesome

ue5-cardgame

Card game plugin for Unreal Engine 5.

Note: This document is work-in-progress and subject to change.

Goals

Plugin Setup

  1. Close your Unreal Editor.
  2. Download the latest release.
  3. Copy the CardGame folder to the Plugins folder next to your .uproject file (create if necessary).
  4. Start the Unreal Editor.

Usage

Data

  1. Add data assets of class CardGameCard.
  2. Add data assets of class CardGameCardPile.
  3. Add data assets of class CardGameAttribute.
  4. Add a data asset of class CardGameConfiguration.
  5. Add a (blueprint) class with parent class CardGameActor and implement Init.
  6. Add a (blueprint) class with parent class CardGameActorManager and set Card Actor Class.
  7. Add a (blueprint) class with parent class CardGamePlayerController and set Actor Manager Class.
  8. Add a (blueprint) class with parent class CardGameMode and set Configuration and Player Controller Class.

Game Setup

  1. Using the Card Pile Subsystem, add cards to player piles, shuffle them and/or move cards betweem them.
  2. Using the Attribute Subsystem, set global and player attribute values.
  3. In your card game mode, call Start Game.

Structure

Layers similar to traditional model/view/controller or endpoint/service/DAO:

Design Decisions

Commit Checklist