Skip to content

Cape Town | 26-ITP-May | Liyema Mfengwana | Sprint 3 | Implement and Rewrite Tests#1413

Open
LiyemaMfengwana wants to merge 6 commits into
CodeYourFuture:mainfrom
LiyemaMfengwana:course-work-sprint3
Open

Cape Town | 26-ITP-May | Liyema Mfengwana | Sprint 3 | Implement and Rewrite Tests#1413
LiyemaMfengwana wants to merge 6 commits into
CodeYourFuture:mainfrom
LiyemaMfengwana:course-work-sprint3

Conversation

@LiyemaMfengwana

Copy link
Copy Markdown

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

complete sprint 3 work

@LiyemaMfengwana LiyemaMfengwana added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good work, these tasks are complete

// What other invalid card cases can you think of?

function getCardValue(card) {
const cardPattern = /^(A|[2-9]|10|J|Q|K)[♠♥♦♣]$/;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice REgexp

@LonMcGregor LonMcGregor added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants