diff --git a/api/app.py b/api/app.py
index 13e2455..0137297 100644
--- a/api/app.py
+++ b/api/app.py
@@ -53,6 +53,18 @@ def index():
return render_template('index.html')
+@app.route('/robots.txt')
+def robots_txt():
+ """Serve robots.txt file."""
+ return send_file('../web/static/robots.txt', mimetype='text/plain')
+
+
+@app.route('/sitemap.xml')
+def sitemap_xml():
+ """Serve sitemap.xml file."""
+ return send_file('../web/static/sitemap.xml', mimetype='application/xml')
+
+
@app.route('/api/algorithms', methods=['GET'])
def get_algorithms():
"""Get list of available algorithms."""
diff --git a/web/static/manifest.json b/web/static/manifest.json
new file mode 100644
index 0000000..51433a2
--- /dev/null
+++ b/web/static/manifest.json
@@ -0,0 +1,39 @@
+{
+ "name": "Maze Generator",
+ "short_name": "MazeGen",
+ "description": "Generate and solve mazes with 8 different algorithms. Features animated pathfinding visualization.",
+ "start_url": "/",
+ "display": "standalone",
+ "background_color": "#F5F5F5",
+ "theme_color": "#FFE500",
+ "orientation": "portrait-primary",
+ "icons": [
+ {
+ "src": "/static/images/icon-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png",
+ "purpose": "any maskable"
+ },
+ {
+ "src": "/static/images/icon-512x512.png",
+ "sizes": "512x512",
+ "type": "image/png",
+ "purpose": "any maskable"
+ }
+ ],
+ "categories": ["education", "entertainment", "utilities"],
+ "screenshots": [
+ {
+ "src": "/static/images/screenshot-wide.png",
+ "sizes": "1280x720",
+ "type": "image/png",
+ "form_factor": "wide"
+ },
+ {
+ "src": "/static/images/screenshot-mobile.png",
+ "sizes": "750x1334",
+ "type": "image/png",
+ "form_factor": "narrow"
+ }
+ ]
+}
diff --git a/web/static/robots.txt b/web/static/robots.txt
new file mode 100644
index 0000000..9c5b4be
--- /dev/null
+++ b/web/static/robots.txt
@@ -0,0 +1,21 @@
+# Robots.txt for Maze Generator
+# Allow all search engines to index the site
+
+User-agent: *
+Allow: /
+Disallow: /api/
+
+# Specific crawlers
+User-agent: Googlebot
+Allow: /
+Disallow: /api/
+
+User-agent: Bingbot
+Allow: /
+Disallow: /api/
+
+# Sitemap location
+Sitemap: https://yoursite.com/sitemap.xml
+
+# Crawl delay (optional)
+Crawl-delay: 1
diff --git a/web/static/sitemap.xml b/web/static/sitemap.xml
new file mode 100644
index 0000000..67b2f7e
--- /dev/null
+++ b/web/static/sitemap.xml
@@ -0,0 +1,15 @@
+
+
8 ALGORITHMS • INFINITE POSSIBILITIES