Author |
Message |
C
|
Posted: Thu Jun 11, 2009 8:00 pm Post subject: Baseball Game (Grade 10 Summative) |
|
|
oK. This is a baseball game I had to do for my grade 10 summative . It is based on a game of baseball, and it's really basic and I just want some comments on how it is and what I can improve ...
oh and you need to go set your turing preferences (run window : 40 rows, 100 colums)
Description: |
|
 Download |
Filename: |
Baseball_game.zip |
Filesize: |
286.69 KB |
Downloaded: |
277 Time(s) |
|
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Tony

|
Posted: Fri Jun 12, 2009 11:38 am Post subject: RE:Baseball Game (Grade 10 Summative) |
|
|
you'd get better comments if you submitted your source code, not the compiled executable...
|
Tony's programming blog. DWITE - a programming contest. |
|
|
|
 |
Alexmula
|
Posted: Fri Jun 12, 2009 12:11 pm Post subject: RE:Baseball Game (Grade 10 Summative) |
|
|
the other team had a player on 2nd base and i walked off a batter and the player on 2nd base went to third is that right? i forget
|
|
|
|
|
 |
C
|
Posted: Fri Jun 12, 2009 2:37 pm Post subject: RE:Baseball Game (Grade 10 Summative) |
|
|
oops..I'll have that fixed
|
|
|
|
|
 |
C
|
Posted: Fri Jun 12, 2009 3:02 pm Post subject: Re: Baseball Game (Grade 10 Summative) |
|
|
Here is the fixed source code , and no the player is not supposed to go to third base
Description: |
|
 Download |
Filename: |
compsci isu.t |
Filesize: |
52.73 KB |
Downloaded: |
180 Time(s) |
|
|
|
|
|
 |
BigBear
|
Posted: Fri Jun 12, 2009 3:08 pm Post subject: RE:Baseball Game (Grade 10 Summative) |
|
|
Why are you initializing your arrays? Why not declare empty array then get input ?
|
|
|
|
|
 |
C
|
Posted: Fri Jun 12, 2009 3:19 pm Post subject: RE:Baseball Game (Grade 10 Summative) |
|
|
oh they need to have a certain predifined value to them ..that's why i gave them a initial value
|
|
|
|
|
 |
|