Rock-Paper-Scissors

版本 1.1.0.0 (1.4 KB) 作者: Lazaros Moysis
A simple game where you battle an epic war of rock-paper-scissors with the computer!
869.0 次下载
更新时间 2014/3/24

查看许可证

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!

引用格式

Lazaros Moysis (2024). Rock-Paper-Scissors (https://www.mathworks.com/matlabcentral/fileexchange/39461-rock-paper-scissors), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Just for fun 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Fixed an error, when a player inputs anything other than rock-paper-scissors.

1.0.0.0