Basic Script page erstellt mit Beispiel Design um einen Startpunkt fürs Implementieren des Problems zu erstellen

This commit is contained in:
IM23a-anastasiak
2026-03-22 21:59:45 +01:00
parent 723bc835ec
commit 217dccfe74
4 changed files with 157 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>8-Damen-Problem</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/solver.css') }}">
</head>
<body>
<div class="container">
<h1>8-Damen-Problem Test</h1>
<div class="chessboard">
{% for row in range(8) %}
{% for col in range(8) %}
<div class="square {{ 'light' if (row + col) % 2 == 0 else 'dark' }}" data-row="{{ row }}" data-col="{{ col }}">
<!-- Queens will be placed here -->
</div>
{% endfor %}
{% endfor %}
</div>
<div class="controls">
<button id="solveBtn">Solve</button>
<button id="resetBtn" class="secondary">Reset</button>
</div>
</div>
</body>
</html>