Einige Style Bugs und neue Readme

This commit is contained in:
2025-05-06 15:35:44 +02:00
parent 86beaad464
commit adbcb178a8
3 changed files with 13 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ DoubleSnake ist eine moderne Interpretation des klassischen Snake-Spiels für zw
1. **Repository klonen** 1. **Repository klonen**
```bash ```bash
git clone https://github.com/yourusername/doubleSnake.git git clone [https://github.com/yourusername/doubleSnake.git](https://github.com/yourusername/doubleSnake.git)
cd doubleSnake cd doubleSnake
``` ```
@@ -43,8 +43,7 @@ DoubleSnake ist eine moderne Interpretation des klassischen Snake-Spiels für zw
- Erstellen Sie eine MySQL-Datenbank mit dem Namen "doublesnake" - Erstellen Sie eine MySQL-Datenbank mit dem Namen "doublesnake"
- Importieren Sie die Datenbankstruktur aus der Datei `doublesnake.sql` - Importieren Sie die Datenbankstruktur aus der Datei `doublesnake.sql`
3. **Umgebungsvariablen konfigurieren** 3. **Umgebungsvariablen konfigurieren** Erstellen Sie eine `.env`-Datei im Backend-Verzeichnis mit folgenden Werten:
Erstellen Sie eine `.env`-Datei im Backend-Verzeichnis mit folgenden Werten:
``` ```
SESSION_KEY=IhrGeheimesSessionKey SESSION_KEY=IhrGeheimesSessionKey
PORT=3000 PORT=3000
@@ -67,8 +66,7 @@ DoubleSnake ist eine moderne Interpretation des klassischen Snake-Spiels für zw
npm run nm npm run nm
``` ```
6. **Anwendung öffnen** 6. **Anwendung öffnen** Navigieren Sie zu `http://localhost:3000` in Ihrem Browser
Navigieren Sie zu `http://localhost:3000` in Ihrem Browser
## 🐳 Docker-Installation ## 🐳 Docker-Installation

View File

@@ -69,7 +69,7 @@ img{
border: 5px solid white; border: 5px solid white;
height: 80vh; height: 80vh;
width: 60vw; width: 50vw;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@@ -80,3 +80,11 @@ tr td:last-child {
.navButtons{ .navButtons{
flex-direction: column; flex-direction: column;
} }
select{
border-radius: 8px;
padding: 2px;
border: 2px solid rgba(255, 255, 255, 0.6);
background-color: rgb(63, 63, 63, 0.5);
color: white;
}