User Tools

Site Tools


notes:data:spring2024:projects:cgfx

This is an old revision of the document!


CGFX

STANDARD 52-CARD DECK

VALUES

A standard deck has 13 values on the face of the card:

  • Ten “Number Values”, starting at the Ace “A”, and going up to 10.
  • Three “Face Values”, which are the Jack, Queen, and King.

SUITES

A standard deck of playing cards are divided into four suits, which are also grouped into colors:

  • Red:
  • Diamonds
  • Hearts
  • Black:
  • Spades
  • Clubs

doubly linked stack

A doubly linked list is nearly similar to a singly linked list, as it is a list of structs, where each struct has a pointer to the next struct in the list.

However, in a doubly linked list, each struct also has a pointer which points to the last struct in the list. This means functions can be used to go back and forth through the list, instead of just going one way.

Stack Struct

Function to Create Stack

LIFO/FILO

size: bounded vs unbounded

top

push

stack overflow

pop

stack underflow

peek

card game: freecell

foundations

Foundation logic

storage

tableau

pile

notes/data/spring2024/projects/cgfx.1709787479.txt.gz · Last modified: 2024/03/07 04:57 by rspringe