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
업데이트 날짜: 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