Community Profile

photo

Jason Miller


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 1

View badges

Feeds

View by

Channel


Jason Miller

2 years ago

Question


I am trying to write a function that draws a card from the deck, adds it to a hand, then deletes that card from the deck.
Is there a way to completely erase the top card or first element from the cell array which is the deck of cards with a function?...

2 years ago | 1 answer | 0

1

answer

Question


I am attempting to change the value 'K' to a value of 10 so I can add it to other numbers.
I am trying to program a card game called cadillac. I am using cell arrays for the deck and hands. i.e. hand = {['h','K'], ['s',...

2 years ago | 1 answer | 0

1

answer