For my college computing project, I am making a stock market simulation game. For this, I need to use a timer to progress the game.
I have two labels, one which shows the Day( lblDay) and one which shows the current time (lblTime). The simulation runs like so;
The game begins on Monday at 8am. Every minute, lblTime will increment by a full hour. This is the case until the time reaches 17pm, at which it is the end of the day. Then, instead of changing to 18pm, the time will reset to 8am and lblDay will change to Tuesday. This happens until 17pm on Friday, which is the end of the game.
How can I make this work?
I have two labels, one which shows the Day( lblDay) and one which shows the current time (lblTime). The simulation runs like so;
The game begins on Monday at 8am. Every minute, lblTime will increment by a full hour. This is the case until the time reaches 17pm, at which it is the end of the day. Then, instead of changing to 18pm, the time will reset to 8am and lblDay will change to Tuesday. This happens until 17pm on Friday, which is the end of the game.
How can I make this work?