Skip to content

Conversation

@DaFDE31
Copy link
Contributor

@DaFDE31 DaFDE31 commented Sep 12, 2025

Created two objects called Deck and Card, including attributes like suit, rank, a list cards, brand size of deck, and methods related to check like draw, shuffle, etc.

Copy link
Contributor

@anthonydmays anthonydmays left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎓 Automated Grading Report

Student: Danielson Adjocy
Date: 9/13/2025

Feedback

Danielson, your submission demonstrates a comprehensive understanding of the assignment requirements. You successfully created a custom class 'Card' with member variables of different types, including an enum 'Suit' and a collection type 'ArrayList' in the 'Deck' class. The 'Card' class includes a constructor and several member functions, one of which uses a conditional expression and another that utilizes the collection member variable. You also implemented a loop in the 'Deck' constructor to initialize the deck of cards. The custom exception 'JokerException' is appropriately used in the 'Deck' class methods.

Your code adheres to proper Java conventions and style, and the use of Lombok's @Getter annotation is a nice touch for reducing boilerplate code. The GitHub checks indicate a successful build, suggesting that your code is technically sound.

The test files 'CardTest' and 'DeckTest' include more than the required five test methods, indicating thorough testing of your classes. Overall, your submission meets all functional and technical requirements effectively. Great job!


This is an automated preliminary review. Please review and adjust before finalizing.

@anthonydmays anthonydmays merged commit a9bda5e into code-differently:main Oct 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants