File Exchange

image thumbnail


version (1.4 KB) by Lazaros Moysis
A simple game where you battle an epic war of rock-paper-scissors with the computer!


Updated 24 Mar 2014

View Version History

View License

This programm was more or less inspired by an example done in the course 'An introduction to Interactive programming in Python' at
We use the reasoning of assigning numbers to each choise the player and the computer make and then compute their difference.mod3
According to this result we define the winner!

Cite As

Lazaros Moysis (2021). Rock-Paper-Scissors (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

E. Cheynet

Works fine for me. But I would prefer the program to start again after one round, and an option to quit whenever I want

Lazaros Moysis

I fixed the error that was appearing when a user entered anything other than rock-paper-scissors. Not it's working fine.

hakan peltek


hakan peltek

gui program running at a stone scissors game yet?



MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!