Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/selectel/sql-battleships

[Community] Play Battleships on PostgreSQL
https://github.com/selectel/sql-battleships

community docker postgresql sql

Last synced: 18 days ago
JSON representation

[Community] Play Battleships on PostgreSQL

Awesome Lists containing this project

README

        

# SQL Battleships

![](res/gameplay.gif)

Articles:
- https://selectel.ru/blog/seabattle-postgresql/
- https://habr.com/ru/company/selectel/blog/519010/

## Requirements

- postgresql 12.4
- docker (optional)

## Running server in docker

```
docker build -t sql-battleships .
docker run -p 5432:5432 sql-battleships
```

## Starting the game

```
psql -U postgres <<<'call screen_loop()' & psql -U postgres
```