Mosè Giordano 11/3/2017

Rock–paper–scissors game in less than 10 lines of code

Read Original

This technical article demonstrates how to code a Rock-Paper-Scissors game in the Julia programming language in just nine lines. It focuses on leveraging Julia's multiple dispatch feature, using abstract and concrete types to define game rules elegantly. The piece is a clear programming tutorial relevant to software development and language-specific features.

Rock–paper–scissors game in less than 10 lines of code

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser