Hi, everyone !
There's a need to control the time and
have predefined events in certain games like e.g. in Adventure games.
There should be a shell for the purpose.
In this simple project a year lasts 360 days with a 30-day month.For many
games there's no need in more correct year or month. Still if someone needs
more correct year or month or else, he/she can slightly change the code (e.g.
to have appropriate number of days in a month - 28,29,30 or 31 or a leap year).
With the 'S' key you can stop/resume the flow of time.
There's a need to control the time and
have predefined events in certain games like e.g. in Adventure games.
There should be a shell for the purpose.
In this simple project a year lasts 360 days with a 30-day month.For many
games there's no need in more correct year or month. Still if someone needs
more correct year or month or else, he/she can slightly change the code (e.g.
to have appropriate number of days in a month - 28,29,30 or 31 or a leap year).
With the 'S' key you can stop/resume the flow of time.