Compare commits

...

3 Commits

Author SHA1 Message Date
pengniklas
eb74bf0d29 Merge branch 'niklas' of https://gitea.fhgr.ch/jakobluca/fs2026-Frontend-Semesterarbeit into niklas 2026-06-01 16:35:40 +02:00
pengniklas
3429d51774 simplify README.md 2026-06-01 16:32:22 +02:00
pengniklas
62077a6ac7 update README with correct stack and features 2026-06-01 16:28:34 +02:00

View File

@ -22,8 +22,6 @@ php serve.php
Then open `http://localhost:8000/` in your browser. PHP 8.0+ is required.
> The `backend/data/` directory is not tracked in version control. PHP creates it automatically on first run.
---
## How to play
@ -85,9 +83,9 @@ tools/
| Drawing & Scoring | Canvas 2D API + Pointer Events | Native browser APIs; IoU scoring via 96×96 raster grid |
| Country data | GeoJSON outlines | Standard geospatial format, lightweight and precise |
| Backend | PHP 8.5 | Server-side REST API |
| Storage | JSON file (`lobbies.json`) | Dependency-free; no database server needed for this scope |
| Testing | Node.js built-in test runner | Unit tests for IoU scoring algorithm (`scoring.test.mjs`) |
| Linting / Formatting | [Biome](https://biomejs.dev/) | Fast unified linter and formatter |
| Storage | JSON file (lobbies.json) | Dependency-free; no database server needed for this scope |
| Testing | Node.js built-in test runner | Unit tests for IoU scoring algorithm (scoring.test.mjs) |
| Linting / Formatting | Biome | Fast unified linter and formatter |
| Package Manager | npm | Dev-only dependency (Biome) |
---
@ -96,19 +94,6 @@ tools/
| Name | Role |
|---|---|
| **Ivan Szabo** | Frontend development — built the complete initial frontend (all pages, scripts, styles) |
| **Luca Jakob** | Frontend review; Backend development — PHP REST API and GeoJSON country outline data |
| **Niklas Peng** | Frontend improvements — accessibility, code quality, CSS consolidation, JSDoc, join lobby feature; Backend review |
---
## Self-Reflection
**Ivan Szabo:**
tbd
**Luca Jakob:**
tbd
**Niklas Peng:**
tbd
| **Ivan Szabo** | Frontend development (initial/base: pages, scripts, styles...) |
| **Luca Jakob** | Frontend review; Backend development |
| **Niklas Peng** | Frontend improvements (accessibility, code quality, CSS consolidation, JSDoc...); Backend review |