Computer Science Canada

Baseball Game (Grade 10 Summative)

Author:  C [ 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 Very Happy . 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)

Author:  Tony [ 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...

Author:  Alexmula [ 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 Laughing is that right? i forget

Author:  C [ Fri Jun 12, 2009 2:37 pm ]
Post subject:  RE:Baseball Game (Grade 10 Summative)

oops..I'll have that fixed

Author:  C [ 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 Shocked

Author:  BigBear [ 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 ?

Author:  C [ 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


: