Study Dungeon  1.0.0
A group project for COSC345
Functions
gameloop.cpp File Reference

Defines the gameplay and game loop of the card duel game. More...

#include "gameloop.h"

Functions

std::vector< PlayingCardgenerateDeck (int numCards)
 Generates a hand. More...
 

Detailed Description

Defines the gameplay and game loop of the card duel game.

Author
Green Alligators
Version
1.0.0
Date
2024-09-19

Function Documentation

◆ generateDeck()

std::vector<PlayingCard> generateDeck ( int  numCards)

Generates a hand.

Parameters
numCardsthe number of cards to add to the hand.
Returns
std::vector<PlayingCard> the generated hand.