Rock-Paper-Scissors
Versión 1.1.0.0 (1,4 KB) por
Lazaros Moysis
A simple game where you battle an epic war of rock-paper-scissors with the computer!
This programm was more or less inspired by an example done in the course 'An introduction to Interactive programming in Python' at coursera.org
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!
Citar como
Lazaros Moysis (2024). Rock-Paper-Scissors (https://www.mathworks.com/matlabcentral/fileexchange/39461-rock-paper-scissors), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2011a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Gaming > Just for fun >
- MATLAB > External Language Interfaces > Python with MATLAB > Call Python from MATLAB >
Más información sobre Just for fun en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.