Back to Vol 20, Issue 4

PHP Architect · Vol 20, Issue 4 · April 2021

PHP Puzzles: Rock Paper Scissors

by Sherri Wheeler

This month, we have a try at writing a function to play the hand gesture game Rock Paper Scissors. It serves as an example of a single function that takes in a distinct set of inputs to return an output based on pre-defined rules.

The full article is in PHP Architect Vol 20, Issue 4. Subscribe to read it and every new issue.

Subscribe
Sherri Wheeler

About the author

Sherri Wheeler

Sherri is a web software developer and business professional with over 20 years of experience working with PHP. She currently operates her company Avinus Web Services, and for fun she creates games and open source software. When not at the computer you’ll find her playing games, swimming, woodworking, and making forts with her husband and three sons in Ontario, Canada. Connect with her on Mastodon.  @syntaxseed@phpc.social

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →