Share your repls and programming experiences

← Back to all posts
Random Card Generator
cf20600 (2)

This is a random playing card generator.
Press enter to draw a random card.

Still very messy programming, I know. I made this before I made the calculator.

But, please, do tell me what to improve!! :D

SixBeeps (3629)

You can combine the spades, clubs, and diamonds arrays into one single array to increase efficiency

cf20600 (2)

@SixBeeps Thank you! I will try and keep that in mind for another project.