DATEGAME
1.2K Downloads
Updated 3 Aug 2006
No License
THE GAME IS PLAYED BY USER Vs CPU
RULES OF THE GAME
1. EACH HAS A CHANCE TO CHANGE EITHER MONTH OR DATE BUT NOT "BOTH".
2. WHO EVER REACHES THE FINAL DESTINATION(i.e, DEC 31) IN A CALENDER WILL WON THE GAME.
3. THERE IS NO WAY TO GO BACK FROM A GIVEN POSITION(since always TIME moves in forward or positive direction).
4. A LEAP YEAR IS CONSIDERED AS STANDARD REFERANCE(SO FEB HAS 29 DAYS).
Cite As
Krishna Lalith (2023). DATEGAME (https://www.mathworks.com/matlabcentral/fileexchange/11875-dategame), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Data Types > Dates and Time >
- Gaming > Strategy & Logic >
- MATLAB > Language Fundamentals > Data Types > Dates and Time > Calendar >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |