This commit is contained in:
MaciejkaG 2024-04-18 10:47:14 +02:00
commit e36ded546a
2 changed files with 10 additions and 4 deletions

View File

@ -1,2 +1,8 @@
# statki-backend # statki (battleships)
Backend do gry w statki The entire thing is not complete so expect vulnerabilities, missing features and more scary stuff 👻.
Simple battleships game made in Express + vanilla DHTML (seriously).<br>
It uses Redis as a store and Socket.io for websockets. All the operations like ship position validating, shot validating and rooms are made server-side.
**Unfortunately the entire repo is in Polish**, I might add localisation in the future if I feel like it.<br>
Also check out the `service-overhaul` branch that contains multiple service changes from the main branch (like accounts, e-mail auth code login, MySQL persistent match data saving and more in the future).

View File

@ -14,8 +14,8 @@
--ship-invalid: hsl(0, 70%, 55%); --ship-invalid: hsl(0, 70%, 55%);
--ship-miss: hsl(0, 0%, 18%); --ship-miss: hsl(0, 0%, 18%);
--ship-ally-sunken: hsl(120, 30%, 40%); --ship-ally-sunken: hsl(120, 30%, 30%);
--ship-enemy-sunken: hsl(0, 30%, 40%); --ship-enemy-sunken: hsl(0, 30%, 30%);
--dynamic: rgb(83, 83, 245); --dynamic: rgb(83, 83, 245);
--danger: rgb(243, 56, 56); --danger: rgb(243, 56, 56);