Lab 5 BattleShips project iteration 1 - shawyer/battleships GitHub Wiki
Meeting Minutes 2
Date/Location: 04-09-2019, EN310
Attendees: Daniel Shawyer, Indra Kusuma, Kimhong Lay
Start Time: 8.30
End Time: 9.30
Decisions
- decision on the tool to use for code conversion
- decision on the coding standard
- Kimhong will add tutor account to the team tools (D1)
- Daniel and Indra will convert the VB code and fix the compile errors with the C# code (D2)
- Each member will complete the missing document (D3)
- Indra is responsible for validating the converted C# code (D4)
Actions
- (R1) The conversion of the code from VB to C# will be done on Telerik, which offers the online code conversion tool which was easy to use from the code conversion.
- (R2) The coding standard that we used for the C# project will be as below:
- PacalCasing for classes, methods, interface and library
- amelCasing for method arguments, variables
- Kimhong added tutor to the team tools such as Github, Slack, Trello and Toggl.
- Daniel and Indra finished converting the VB code to C# code and the working converted code has been added to the Github repo under the workingbuild branch.
- Missing code documentation was done by Daniel.
- Indra is responsible for validatingthe converted C# code.
Missing documentation
- GameController.cs -> PlayHitSequence() function
- GameController.cs -> PlayMissSequence() function
- GameResources.cs -> LoadFonts() function
- GameResources.cs -> LoadImages() function
- GameResources.cs -> LoadSounds() function
- GameResources.cs -> LoadMusic() function
- GameResources.cs -> ShowLoadingScreen() function
- GameResources.cs -> PlaySwinGameIntro() function
- GameResources.cs -> EndLoadingScreen() function
- GameResources.cs -> ShowMessage() function
- GameResources.cs -> NewFont() function
- GameResources.cs -> NewImage() function
- GameResources.cs -> NewTransparentColorImage() function
- GameResources.cs -> NewTransparentColourImage() function
- GameResources.cs -> NewSound() function
- GameResources.cs -> NewMusic() function
- GameResources.cs -> FreeFonts() function
- GameResources.cs -> FreeImages() function
- GameResources.cs -> FreeSounds() function
- GameResources.cs -> FreeMusic() function
- GameResources.cs -> FreeResources() function
- UtilityFunctions.cs -> AddExplosion() function
- UtilityFunctions.cs -> AddSplash() function
- UtilityFunctions.cs -> AddAnimation() function
- UtilityFunctions.cs -> UpdateAnimations() function
- UtilityFunctions.cs -> DrawAnimations() function
- UtilityFunctions.cs -> DrawAnimationSequence() function
- UtilityFunctions.cs -> UpdateAnimations() function
- Model/AIHardPlayer.cs -> Target() function
- Model/Player.cs -> IsDestroyed() getter
- Model/Player.cs -> Hits() getter
- Model/Player.cs -> RandomizeDeployment() function
- Model/Player.cs -> Player() constructor
- Model/SeaGrid.cs -> Height() getter
- Model/SeaGrid.cs -> ShipsKilled() getter
- Model/SeaGrid.cs -> DummyClass() function
- Model/Ship.cs -> Column() getter
- Model/Ship.cs -> Direction() getter
- Model/Ship.cs -> Ship() constructor
- Model/Ship.cs -> Hit() function
- Model/Ship.cs -> IsDestroyed() getter
- Model/ShipName.cs -> None enum var
- Model/ShipName.cs -> Tug enum var
- Model/ShipName.cs -> Submarine enum var
- Model/ShipName.cs -> Destroyer enum var
- Model/ShipName.cs -> Battleship enum var
- Model/ShipName.cs -> AircraftCarrier enum var
Functionality comparison (Validation)
Here are the list of major functions that needs to be compared between the VB version as well as the C# version. Everything was converted successfully and almost running exactly the same as the VB version.
Audio
- Loading Music = Works normally.
- Background Music = Works normally.
- Victory/Defeat Music = Works normally.
Visual
- Loading Screen = In VB version, the loading screen doesn't have any SwinGame Logo at the beginning.
- Victory/Defeat Screen = Works normally.
- The FPS Label = In VB version, The FPS will stop at some point and will not be refreshed.
- Esc functionality = Works normally.
Ship Placement
- Placing ship = Still has the same bugs as the VB version.
- Arrow = Still has no functionality whatsoever.
- Refresh = Works normally.
Main Menu
- Menu option = Works normally.
- Difficulty option = Works normally.
Scores
- High Score = Works normally.
- Entering name = Still has the same bugs.