Code Monkey home page Code Monkey logo

ue5-cardgame's Introduction

ue5-cardgame

Card game plugin for Unreal Engine 5.

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

Goals

  • Common Gameplay Features
  • Blueprint API
  • Networking
  • Automated Tests
  • Savegames
  • Auto AI
  • Diagnostics
  • Documentation

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 CardGameMode and set Configuration.

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.

Structure

  • Assets: Unreal assets (Blueprintable UObjects, UDataAssets). No logic. Used by plugin users for creating their content.
  • Model: Pure model classes. No logic. Need to be copied for Auto AI.
  • Providers: Value providers (e.g. ids, random numbers). Have logic and state.
  • Services: Core game logic classes. Stateless.
  • Subsystems: Unreal blueprint access to services. Trivial delegate pattern.

Design Decisions

  • Provider subsystems are used for injecting dependencies for service subsystems. These dependencies need to be available before the game mode might have been initialized.
  • RPCs for efficiency, events and secrets

Open Questions

  • Where should the model live? In the game mode?

ue5-cardgame's People

Contributors

npruehs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.