Renders a defined view into a container. Passes in necessary, predefined render parameters.
(any)
Container to render the view within
1.0.0
Base board class
Extends Component
(any)
Relevant class event listeners
Type: object
(any)
mouse over event listener
(any)
mouse over event listener
(any)
mouse over event listener
Renders a defined view into a container. Passes in necessary, predefined render parameters.
(any)
Container to render the view within
View remove function for ephemeral objects, ie. eventListeners
Base fleet class
Extends Component
(any)
Base class for components
(any)
Utility functions
Gets indexed letter
(any)
Gets element index from array
(any)
Gets ship length
(any)
Gets surrounding neighbor cells of single cell
(any)
row count
(any)
column count
Gets all cells on request
(any)
row count
(any)
column count
Base class for views
(options)
(any)
Base GameBoard class
Extends View
(any)
Renders a defined view into a container. Passes in necessary, predefined render parameters.
(any)
Container to render the view within
Renders a defined view into a container. Passes in necessary, predefined render parameters.
(any)
Container to render the view within
Player turn message handling
(any)
'player'|'opponent' for message variations
Board click event handler
(any)
'player'|'opponent' - whose board was clicked
(any)
event to log
User prompt handler for messaging.
(any)
current question string
(any)
option one button text string
(any)
option two button text string
(any)
function, click handling
Function to check results of offensive player game.
(any)
(any)
(any)
Find ship on gameboard
(any)
(any)
Add gameboard view border
Check if player is victorious
(any)
View remove function for ephemeral objects, ie. eventListeners
Base GameOverView class
Extends View
(any)
View remove function for ephemeral objects, ie. eventListeners
Base MainView class
Extends View
(any)
Renders a defined view into a container. Passes in necessary, predefined render parameters.
(any)
Container to render the view within
Click handling
(any)
View remove function for ephemeral objects, ie. eventListeners
Base ShipPlacementView class
Extends View
(any)
Renders a defined view into a container. Passes in necessary, predefined render parameters.
(any)
Container to render the view within
Ship rotation handling for ship placement
Handle mouse over cell
(any)
(any)
(any)
Handle mouse leaving cell
Click handling for cells / placement
Render game board once finished
View remove function for ephemeral objects, ie. eventListeners