Newer
Older
```bash
python3 -m venv .venv
source .venv/bin/activate
```
```bash
pip install -r requirements.txt
```
Run database migrations:
```bash
python3 manage.py migrate
```
```bash
python3 manage.py runserver
```
## Usage
1. When the server is startet open the URL the server is running on in your browser.
2. Choose a game name and enter it in the `Enter a Game Name` field and click on `Start Game`. Now you can place your ships.
3. Your opponent has to enter the same game name and can also place their ships.
4. When both players placed their ships and clicked on the `Ready to play` button the game starts.