Logo

EECS 280 Project 3 Overview Session - Shared screen with speaker view
Elkin Diego Bayraktar
14:13
Are these slides anywhere?
Maggie Tian
14:30
https://docs.google.com/presentation/d/1DbZBEYq3LlEjBe7kSUJVPWapsq2_vnKbeugJEmKxnTw/edit#slide=id.g112d1dd1ff0_0_567
Elkin Diego Bayraktar
14:39
Thank you!
Chimmuanya Iheanyi-Igwe - IA
15:35
We’ll also be having a social Feb. 12 where you can come practice the game!
Chimmuanya Iheanyi-Igwe - IA
17:38
Reminder to everyone to mute your mic
Hillary Luan
22:21
For the function in the Card class that you said are used by the Player class, should we not make a function stub for them in Card.cpp then and do it in Player.cpp?
Hillary Luan
22:33
Sorry I came in late so I don’t know if this was already covered
Hillary Luan
23:01
yea
Hillary Luan
24:05
Thanks!
Chimmuanya Iheanyi-Igwe - IA
28:20
Please please please test your Card_less 😭🙏🏾
Chimmuanya Iheanyi-Igwe - IA
30:03
From the spec: “In the simplest case, cards are ordered by rank (A > K > Q > J > 10 > 9), with ties broken by suit (D > C > H > S).”
Chimmuanya Iheanyi-Igwe - IA
30:12
But you also have to consider trump like Maria said
Elena Elkin
30:14
Should we copy and paste the constexpr functions from Card.h to Card.cpp or should we just leave it in the .h?
Yehya Abdelsamad Altamimi
31:25
So copy everything from .h to .cpp
Chimmuanya Iheanyi-Igwe - IA
31:30
I would copy and paste them into .cpp and make them static so you can access them from anywhere
Elkin Diego Bayraktar
32:32
I thought that if its in the .h we don’t need to we don’t need to declare in the .cpp?
Elkin Diego Bayraktar
32:55
nvm^
Yu Shi
33:52
Chimmuanya Iheanyi-Igwe - IA
34:06
Maria I think you may be frozen
Maggie Tian
34:11
Am I having internet issues or is everyone having internet issues
Ahmed T Al-Manssori
34:16
same
Chimmuanya Iheanyi-Igwe - IA
35:37
We’re on the first slide of Pack
Yu Shi
35:41
Array is fixed size
Maggie Tian
35:49
next is decremented
Brandon Jacob Monge
35:49
You were talking about the next variable
Chimmuanya Iheanyi-Igwe - IA
36:30
The second slide of Pack talking about array fixed size
Yehya Abdelsamad Altamimi
38:45
Same as tricks?
Chimmuanya Iheanyi-Igwe - IA
40:47
Yup you can think of it like that. In each round there are 5 tricks, and whoever wins the majority of those tricks wins the round
Yehya Abdelsamad Altamimi
41:11
Got it
Trenton Michael Cox
47:52
so we’ll have to use the destructor? how come we cant just use new and delete like before?
Omid Shahidi
48:47
The destructor will be called implicitly, you don’t have to call it explicitly and we discourage you to do that because it can cause issues on AG
Yu Shi
53:27
Frozen again?
Trenton Michael Cox
53:34
is this like why we have so long for this project? ive kind of been wondering what the punchline is for why we’re being given so long
Ammad Salim Hassan
53:34
Yea its good now
Trenton Michael Cox
53:38
i think ur good now
Emma Ashley Cherrin
55:34
What’s the difference between the Game ADT and euchre.cpp?
Omid Shahidi
56:59
Game ADT will help you organize your design better for euchre.cpp. Doing everything in the main() would be hard, so having the Game ADT can help by tracking the cards, players, and also writing functions for that Game class
Omid Shahidi
57:45
I.e. Functions such as dealing cards, shuffling, making trump, and playing the game
Elkin Diego Bayraktar
01:00:24
Would you say that starting directly after we attend the euchre social this Saturday would be too late to start?
Adviti Mishra
01:00:51
Should we write test cases for a function before implementing it?
Elkin Diego Bayraktar
01:01:18
I don’t know how to play euchre and am a little confused on how the game is played
Omid Shahidi
01:01:36
Some parts of the project such as Card.cpp and Pack.cpp you can implement without knowing how Euchre works. Having more time for euchre.cpp will help in the long run
Yiming Ma
01:01:40
https://www.youtube.com/watch?v=M0jGJ0NRcrc
Trenton Michael Cox
01:01:47
^^^yeah. like do we need to intimately understand the game to start implementing the functions based on RME? lol
Yiming Ma
01:01:47
here’s an instruction
Elkin Diego Bayraktar
01:02:09
Thanks for that link!
Yusuf Haydar
01:02:10
Play the game online with bots to practice. the rules might be a little different for the project https://cardgames.io/euchre/
Yamato James Miura
01:02:15
From a Piazza post because I have the same question:
Yamato James Miura
01:02:16
So what is the point of this function where we consider trump? Since the left bower is of rank jack but is just the same color as the trump suit are we still just returning trump? Are we only returning suits that are either the trump suit or the left bower, and if they are not either of those then what do we return?
Omid Shahidi
01:02:34
@Adviti it is always a good idea to write test cases before implementing the functions, but if it feels like writing test cases is taking too long, write the implementation for the functions and then test it.
Yamato James Miura
01:02:39
(For get_suit() in card.cpp with that takes in the trump card)
Joshua Darren Brodsky
01:02:55
This might have been asked already but what do you recommend as the order of files programmed. I was thinking cards would be a good start
Yamato James Miura
01:05:55
Never mind
Trenton Michael Cox
01:06:07
does this game have like a graphics engine? what does it look like when it runs
Yamato James Miura
01:06:54
yes
Yamato James Miura
01:08:01
Yes, thank you
Emma Ashley Cherrin
01:08:39
What do we do when cards are equal value?? Like if none of a player’s hand are trump or bower or lead etc?
Trenton Michael Cox
01:09:21
so out of complete curiosity, how would you program graphics theoretically? this is a low priority question, it doesnt really pertain to the project. im just wondering how you could add graphics to a c++ game like this
Emma Ashley Cherrin
01:10:03
yes