You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/** @module lang **/
|
|
|
|
|
|
|
|
import { GameState } from './util.js'
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enum of all possible instructions.
|
|
|
|
* @type {object}
|
|
|
|
*/
|
|
|
|
const instructions = {
|
|
|
|
[GameState.ChoosingNumberOfShips]: 'Select the number of ships both players will play with.',
|
|
|
|
[GameState.PlayerSetup]: 'Place your ships on your fleet\'s grid. You can hold the shift key to change the orientation.',
|
|
|
|
[GameState.PlayerTurn]: 'Select a cell on the opposing fleet\'s grid to fire a missile.',
|
|
|
|
[GameState.PlayerVictory]: '{player} won!'
|
|
|
|
}
|
|
|
|
|
|
|
|
export { instructions }
|