Playing Cards

By Oscar Merida

For my 28th installment, we turn back to games after our tour through sorting algorithms. We’ll look at a direct way to represent playing cards and contrast it with an object-oriented approach to leverage PHP’s built-in features. by Oscar Merida

This article was originally published in the January 2024 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: