1
0
mirror of https://github.com/EECS-448-Battleship/project-1 synced 2024-09-28 14:10:46 +00:00
eecs448-project-1/src/module/lang.js

16 lines
459 B
JavaScript
Raw Normal View History

2020-09-09 23:04:19 +00:00
import { GameState } from './util.js'
/**
* Enum of all possible instructions.
* @type {object}
*/
const instructions = {
[GameState.ChoosingNumberOfShips]: 'Select the number of ships ',
[GameState.PlayerSetup]: 'Place your ships on the grid',
[GameState.PromptPlayerChange]: "It is your opponent's turn",
[GameState.PlayerTurn]: 'Select a cell to fire a missile',
[GameState.PlayerVictory]: 'You won!'
// and so on
}
export { instructions }