Garrett Mills
893751ac38
Add logic to listen for and attempt missile fires ( #5 )
4 years ago
Garrett Mills
6a639e8396
Merge branch 'master' of github.com:EECS-448-Battleship/project-1
4 years ago
Garrett Mills
da3cd3efa5
Modify game state service to update view on missile attempt ( #5 )
4 years ago
Lucas Brakenridge
eec05cd5be
Merge remote-tracking branch 'origin/master' into master
4 years ago
Lucas Brakenridge
374a8fc488
- Pushed components.css changes for the Scoreboard
4 years ago
Alec
ebda3a52d2
Merge branch 'master' of https://github.com/EECS-448-Battleship/project-1
4 years ago
Alec
173f7dc136
Checking is it is missle mode #5
4 years ago
Garrett Mills
340f4c2c76
Merge branch 'master' of github.com:EECS-448-Battleship/project-1
4 years ago
Lucas Brakenridge
84f0cf0c76
- Added Scoreboard with UI (unfinished UI)
4 years ago
Garrett Mills
e2e8e53019
Add instructions display to top-level component
4 years ago
Garrett Mills
45aa8248fc
Clean up styling of top level component; add fleet labels ( #3 )
4 years ago
Garrett Mills
233f48628d
Add prompt to switch players to top-level component ( #3 )
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
5fdaf725d4
Add ability to place ships on grid ( #3 )
4 years ago
Garrett Mills
b6118e686d
Add ability to refresh view to game service ( #3 )
4 years ago
Garrett Mills
22e489b075
Add existence checks and fix bug with gameboard hover ( #3 )
4 years ago
Garrett Mills
c0bb45a078
Fix method call name in scoreboard ( #4 )
4 years ago
Garrett Mills
11c233e6af
Merge branch 'master' of github.com:EECS-448-Battleship/project-1
4 years ago
Garrett Mills
3275ebd5a4
Add hover preview for placing ships ( #3 )
4 years ago
Evan Powell
0ce2d51c52
added the object variables for score and progress and updated the 'update' function
4 years ago
Garrett Mills
8ee2a8252b
Modify helper methods for scoreboard on game state service ( #4 )
4 years ago
Garrett Mills
23b972b366
Add basic scoreboard file and add to top-level ( #4 )
4 years ago
Garrett Mills
1078c87f12
Add event passthrough ( #3 )
4 years ago
javier-barea
1a35bc7216
Align UI #3
4 years ago
javier-barea
2767cf5558
Merge
4 years ago
Alec
184ddf0aae
merge error
4 years ago
Alec
7f1bc00739
merge conflict #3
4 years ago
javier-barea
41bc0e89dc
Solve merge conflict
4 years ago
javier-barea
34a4f2f484
Merge branch 'master' of https://github.com/EECS-448-Battleship/project-1
4 years ago
javier-barea
70df967246
Add definition for ship options #1
4 years ago
Alec
637dd4892b
edited ship buttons and the board #3
4 years ago
Alec
50c3db868f
edited ship buttons and board #3
4 years ago
javier-barea
19aa3733d0
Add definition for ship options #1
4 years ago
javier-barea
5a6367079a
Define user instructions #3
4 years ago
Alec
c58b4b19a6
Add buttons for # of ships #1
4 years ago
Garrett Mills
1ea296e710
Fix bug with game state service get_winner ( #3 )
...
Needed to properly fetch the cell state, not just coordinates
4 years ago
Garrett Mills
eaef36ad61
Add top-level component to show/hide the boards for the current player ( #3 )
4 years ago
Garrett Mills
b5a903d599
Modify game board component to accept passed-in rows ( #3 )
4 years ago
Garrett Mills
4075f282a2
Game state service bugfixes ( #3 )
...
- Add appropriate "else if" clauses to advance game state
- Add ability to listen for game state changes
- Don't have winner if no ships are present
- Reset "current_turn_had_missile_attempt" to false every state change
4 years ago
Garrett Mills
7c364c5c01
Revise styles for game board column labels ( #1 )
...
- Just a few tweaks here. The general principle is good.
- If you want <div> elements to display horizontally, they need to
be wrapped in a parent <div> which has "display: flex;" in the css.
- Then, add a width and centering to the individual labels.
4 years ago
javier-barea
bd44b25faa
Merge branch 'master' of https://github.com/EECS-448-Battleship/project-1
4 years ago
javier-barea
2fe5accb32
Commented letter labels to grid #1
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