My First Game!!!
Author |
Message |
gohabsgo007
|
Posted: Tue Jan 20, 2015 5:40 pm Post subject: My First Game!!! |
|
|
This was the final summative I did for grade 10 compsci. It's called Yahtzou.
edit: any suggestions for improvement?
Description: |
|
Download |
Filename: |
YAHTZOU.zip |
Filesize: |
18.58 KB |
Downloaded: |
312 Time(s) |
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
gohabsgo007
|
Posted: Thu Jan 22, 2015 12:51 pm Post subject: Re: My First Game!!! |
|
|
guess nobody likes it!
|
|
|
|
|
|
bubb4h0t3p
|
Posted: Thu Jan 22, 2015 6:58 pm Post subject: RE:My First Game!!! |
|
|
Suggestions for Improvement
- Add some comments, didn't you need to add comments anyways if this was an assignment?
- I understand this is a daunting task but perhaps display a GIF file with dice rolling while randomizing the result each, then let the user stop the dice by pressing any key. Kind of like the hasch example in the turing documentation
Turing: |
put "Press any key to stop the dice rolling"
var die1, die2 : int
var ch : string (1)
loop
exit when hasch
randint (die1, 1, 6)
randint (die2, 1, 6)
locate (1, 1)
put "You rolled ", die1 + die2
end loop
getch (ch ) % Discard the character
|
|
|
|
|
|
|
gohabsgo007
|
Posted: Thu Jan 22, 2015 8:39 pm Post subject: Re: My First Game!!! |
|
|
yah, ill put comments, and i'll try the .gif thing... but i handed it in last friday!
|
|
|
|
|
|
|
|