Just a playground to play with ES6 and Node
You need to clone this project and build it (see the next Develop section), then launch the dist/index.html file.
You need NodeJS to play this game. And that's all.
- Download last release and unzip it
- Open a command prompt (CLI) in full screen
- Type
npm run play
- Enjoy !
Please use a "modern" command prompt. An older (like the default Windows CLI) can't display Unicode characters.
This game has been tested on following CLI :
- Windows 10:
- Terminal
- Git Bash
- Linux (Ubuntu, openSUSE, Arch Linux, etc):
- gnome-terminal (Terminal GNOME)
If you have tested successfully on another CLI / OS, please add it to this list and send a pull request :)
- Clone this project
npm install
to install dependenciesnpm run dev
to develop the CLI version with hot reloadnpm run serve
to develop the Browser version with hot reloadnpm run build
to build the Browser version (in dist folder)
- CLI mode
- Browser version
- Add (animated) screenshots in readme
- Better CLI graphics
- Improve ship placement (at least 1 case between 2 ships)
- Customize size (Browser version)
Any idea ? Send pull request !
Created by Rémi Séon, inspired from this original gist