diff --git a/Memory Game/README.md b/Memory Game/README.md index 715d125..23d25b2 100644 --- a/Memory Game/README.md +++ b/Memory Game/README.md @@ -79,10 +79,10 @@ A beautiful and modern memory matching game built with Vite, TypeScript, and Rea ## Scoring Strategy -- **Conservative Play**: Focus on memory and accuracy to avoid negative scores -- **Speed vs. Accuracy**: Balance quick play with careful moves -- **Recovery**: Even negative scores can be recovered with successful matches -- **Optimal Performance**: Perfect memory (16 moves) + speed = highest scores +- **Focus on accuracy** to avoid losing points +- **Balance speed with memory** - quick matches boost your score +- **Don't worry about mistakes** - you can always recover +- **Best strategy**: Memorize card positions and match quickly Enjoy playing Memory Match! 🎮✨ diff --git a/WeatherApp/.cursor/rules/BUGBOT.md b/WeatherApp/.cursor/rules/BUGBOT.md new file mode 100644 index 0000000..34a0426 --- /dev/null +++ b/WeatherApp/.cursor/rules/BUGBOT.md @@ -0,0 +1,12 @@ +# Bugbot Rules for Flask Backend + +## Security +- Never trust raw input, always validate `request.form` and `request.args`. +- No string-interpolated SQL queries; use parameterized queries or ORM. + +## Reliability +- Always return proper HTTP status codes (200, 400, 500). +- Ensure all routes handle unexpected inputs gracefully. + +## Style +- Keep function names snake_case. diff --git a/WeatherApp/app.py b/WeatherApp/app.py index f098cdf..396e149 100644 --- a/WeatherApp/app.py +++ b/WeatherApp/app.py @@ -60,7 +60,7 @@ def get_weather_data(city_name): try: # Make API request - response = requests.get(BASE_URL, params=params, timeout=10) + respose = requests.get(BASE_URL, params=params, timeout=10) # Check if request was successful if response.status_code == 200: diff --git a/WeatherApp/templates/index.html b/WeatherApp/templates/index.html index e79ad9b..e077541 100644 --- a/WeatherApp/templates/index.html +++ b/WeatherApp/templates/index.html @@ -9,7 +9,7 @@
Get current weather for any city
@@ -44,7 +44,7 @@