36 Commits (master)

Author SHA1 Message Date
Garrett Mills 432c2a22d5
Fix #8 - return correct player score & winner in game service
4 years ago
Garrett Mills db260ebacc
Format comments for documentation generator (#6)
4 years ago
Garrett Mills 35845a497a
Reset flag when clicking invalid cell (#6)
4 years ago
Garrett Mills 60bd974314
Load in victory states when appropriate (#5)
4 years ago
Alec 6dca957391 Merge branch 'master' of https://github.com/EECS-448-Battleship/project-1
4 years ago
Alec 1e47fdd142 for victory states to be shown
4 years ago
Garrett Mills 8e0c30f01a
Set opponent to loser if PlayerVictory in game service (#5)
4 years ago
Garrett Mills fbe8ac8ce6
Fix math bugs for scoreboard (#4)
4 years ago
Garrett Mills da3cd3efa5
Modify game state service to update view on missile attempt (#5)
4 years ago
Garrett Mills 6a08b5d3c8
Add player change prompt states and player display helpers to game service (#3)
4 years ago
Garrett Mills 531d11fee8
Fix committed merge errors; fetch placeable ships from service
4 years ago
Alec c0a4bb93cd the possible boats function
4 years ago
Alec 7f460b2324 Get possible boats to add #1}
4 years ago
Garrett Mills b6118e686d
Add ability to refresh view to game service (#3)
4 years ago
Garrett Mills 8ee2a8252b
Modify helper methods for scoreboard on game state service (#4)
4 years ago
Garrett Mills 1ea296e710
Fix bug with game state service get_winner (#3)
4 years ago
Garrett Mills 4075f282a2
Game state service bugfixes (#3)
4 years ago
Garrett Mills e9cbd8cf09
Add helper to get the current game state (#3)
4 years ago
Garrett Mills bb8592cbb0
Add ability to listen for game state changes (#3)
4 years ago
Evan Powell 152f1fa776 added the logic for the gamestate if a player has won (#2)
4 years ago
Evan Powell ce030c346e added the logic for ensuring the player had fired a missle and the flow of the game in terms of the players' turns (#2)
4 years ago
Garrett Mills fda50ad037
Merge branch 'master' of github.com:EECS-448-Battleship/project-1
4 years ago
Garrett Mills d29b448484
Add helper methods for checking for victory (#2)
4 years ago
Evan Powell 960203b597 added the logic of handling player one's turn then switching to player two's turn (#2)
4 years ago
Garrett Mills aaadd82d31
Add helper methods to game service for firing on opponent (#2)
4 years ago
Garrett Mills 9a2afe523e
add helper method to handle placing and validating a ship (#2)
4 years ago
Evan Powell 6d5050fa79 added to the advance game state: added the choosing boats number of boats prereq, started on the player's placement prereq(#2)
4 years ago
Evan Powell a9945e084e added the n_boat variable, defined a get method for n_boat, and defined a set method for n_boat(#2)
4 years ago
Evan Powell 97e797f6e3 added an outline for the future helpers of advance game state(#2)
4 years ago
Evan Powell eb5bcc6a54 added a get progress method(#2)
4 years ago
Evan Powell b6e756dae9 added a get boat count helper method(#2)
4 years ago
Evan Powell 4463e804f4 added a get player score helper method(#2)
4 years ago
Garrett Mills 610bfea7fb
Bugfix: move GameStateService declaration before instantiation (#2)
4 years ago
Garrett Mills fcf8d2a1c3
Add basic state retrieval methods to the game service (#2)
4 years ago
Garrett Mills ec6591d067
Add basic state to GameState service (#2)
4 years ago
Garrett Mills 69915705e1
Create game state service placeholder class
4 years ago