I don't think I have talked about this, but we are obviously going to need a Team class that has doubly linked list of Players so we can cycles through them during the game.
This class should have the following members
name
roster(list of players)
current spot in the batting order
number of players(basically the length of the roster)
When the first player is added to the roster, the linked list will start generating in order of players added.
After all players are created, the user will have the option to set the batting order or start the game. This will allow the user to either update the order of the linked list or move on to the next team or start the game.
I don't think I have talked about this, but we are obviously going to need a Team class that has doubly linked list of Players so we can cycles through them during the game.
This class should have the following members
When the first player is added to the roster, the linked list will start generating in order of players added.
After all players are created, the user will have the option to set the batting order or start the game. This will allow the user to either update the order of the linked list or move on to the next team or start the game.
This class is up for assignment