0.3.0 Performance enhancement
Browse files- CLAUDE.md +5 -5
- GAMEPLAY_GUIDE.mdx +4 -4
- LOCALHOST_PWA_README.md +2 -0
- PWA_INSTALL_GUIDE.mdx +4 -0
- README.md +6 -6
- pyproject.toml +1 -1
- specs/leaderboard_spec.mdx +4 -4
- specs/requirements.mdx +2 -2
- specs/specs.mdx +2 -2
- wrdler/__init__.py +2 -2
- wrdler/ui.py +6 -6
CLAUDE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# CLAUDE
|
| 2 |
|
| 3 |
-
Wrdler v0.
|
| 4 |
|
| 5 |
# Wrdler - Project Context
|
| 6 |
|
|
@@ -12,15 +12,15 @@ Wrdler is a simplified vocabulary puzzle game based on BattleWords:
|
|
| 12 |
- **2 free letter guesses at game start** (all instances revealed)
|
| 13 |
- **Word composition:** 2 four-letter, 2 five-letter, 2 six-letter words per puzzle
|
| 14 |
|
| 15 |
-
**Current Version:** 0.
|
| 16 |
-
**Last Updated:** 2026-03-
|
| 17 |
**Repository:** https://github.com/Oncorporation/Wrdler.git
|
| 18 |
**Branch:** main
|
| 19 |
|
| 20 |
-
## Recent Changes (v0.
|
| 21 |
- Minor UI and documentation updates
|
| 22 |
- Small fixes to footer navigation and game-over dialog layout
|
| 23 |
-
- Synchronized documentation headers and version strings to 0.
|
| 24 |
|
| 25 |
## Recent Changes (v0.2.16)
|
| 26 |
- Version bump to 0.2.16
|
|
|
|
| 1 |
# CLAUDE
|
| 2 |
|
| 3 |
+
Wrdler v0.3.0
|
| 4 |
|
| 5 |
# Wrdler - Project Context
|
| 6 |
|
|
|
|
| 12 |
- **2 free letter guesses at game start** (all instances revealed)
|
| 13 |
- **Word composition:** 2 four-letter, 2 five-letter, 2 six-letter words per puzzle
|
| 14 |
|
| 15 |
+
**Current Version:** 0.3.0
|
| 16 |
+
**Last Updated:** 2026-03-04
|
| 17 |
**Repository:** https://github.com/Oncorporation/Wrdler.git
|
| 18 |
**Branch:** main
|
| 19 |
|
| 20 |
+
## Recent Changes (v0.3.0)
|
| 21 |
- Minor UI and documentation updates
|
| 22 |
- Small fixes to footer navigation and game-over dialog layout
|
| 23 |
+
- Synchronized documentation headers and version strings to 0.3.0
|
| 24 |
|
| 25 |
## Recent Changes (v0.2.16)
|
| 26 |
- Version bump to 0.2.16
|
GAMEPLAY_GUIDE.mdx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
# Wrdler Gameplay Guide
|
| 2 |
|
| 3 |
-
Version 0.
|
| 4 |
|
| 5 |
-
**Last Updated:** 2026-03-
|
| 6 |
|
| 7 |
## Welcome to Wrdler!
|
| 8 |
|
|
@@ -11,8 +11,8 @@ Wrdler is a simplified vocabulary puzzle game where you discover 6 hidden words
|
|
| 11 |
---
|
| 12 |
|
| 13 |
|
| 14 |
-
## Recent Changes (v0.
|
| 15 |
-
See `README.md` for the canonical release notes: [Recent Changes (v0.
|
| 16 |
|
| 17 |
---
|
| 18 |
|
|
|
|
| 1 |
# Wrdler Gameplay Guide
|
| 2 |
|
| 3 |
+
Version 0.3.0
|
| 4 |
|
| 5 |
+
**Last Updated:** 2026-03-04
|
| 6 |
|
| 7 |
## Welcome to Wrdler!
|
| 8 |
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
|
| 14 |
+
## Recent Changes (v0.3.0)
|
| 15 |
+
See `README.md` for the canonical release notes: [Recent Changes (v0.3.0)](README.md#recent-changes-v030)
|
| 16 |
|
| 17 |
---
|
| 18 |
|
LOCALHOST_PWA_README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
| 4 |
|
| 5 |
**The PWA files were created successfully**, but they **won't work fully on `localhost:8501`** due to Streamlit's static file serving limitations.
|
| 6 |
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
## What You're Seeing (or Not Seeing)
|
|
|
|
| 4 |
|
| 5 |
**The PWA files were created successfully**, but they **won't work fully on `localhost:8501`** due to Streamlit's static file serving limitations.
|
| 6 |
|
| 7 |
+
**Last Updated:** 2026-03-04
|
| 8 |
+
|
| 9 |
---
|
| 10 |
|
| 11 |
## What You're Seeing (or Not Seeing)
|
PWA_INSTALL_GUIDE.mdx
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
# Wrdler PWA Installation Guide
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
Wrdler can now be installed as a Progressive Web App (PWA) on your mobile device or desktop, giving you a native app experience directly from your browser!
|
| 4 |
|
| 5 |
## What is a PWA?
|
|
|
|
| 1 |
# Wrdler PWA Installation Guide
|
| 2 |
|
| 3 |
+
Version 0.3.0
|
| 4 |
+
|
| 5 |
+
**Last Updated:** 2026-03-04
|
| 6 |
+
|
| 7 |
Wrdler can now be installed as a Progressive Web App (PWA) on your mobile device or desktop, giving you a native app experience directly from your browser!
|
| 8 |
|
| 9 |
## What is a PWA?
|
README.md
CHANGED
|
@@ -21,7 +21,7 @@ thumbnail: >-
|
|
| 21 |
|
| 22 |
# Wrdler
|
| 23 |
|
| 24 |
-
Version 0.
|
| 25 |
|
| 26 |
Wrdler is a vocabulary puzzle game with daily and weekly leaderboards, 8x6 grid, and two free letter guesses at the start. See CHANGELOG or specs for details on the latest updates.
|
| 27 |
|
|
@@ -29,13 +29,13 @@ Wrdler is a vocabulary puzzle game with daily and weekly leaderboards, 8x6 grid,
|
|
| 29 |
|
| 30 |
Wrdler is a vocabulary learning game with a simplified grid and strategic letter guessing. The objective is to discover hidden words on a grid by making smart guesses before all letters are revealed.
|
| 31 |
|
| 32 |
-
**Current Version:** v0.
|
| 33 |
-
**Last Updated:** 2026-03-
|
| 34 |
|
| 35 |
-
## Recent Changes (v0.
|
| 36 |
-
-
|
| 37 |
- Small fixes to footer navigation and game-over dialog layout
|
| 38 |
-
- Synchronized documentation and spec headers to v0.
|
| 39 |
|
| 40 |
## Key Differences from BattleWords
|
| 41 |
|
|
|
|
| 21 |
|
| 22 |
# Wrdler
|
| 23 |
|
| 24 |
+
Version 0.3.0
|
| 25 |
|
| 26 |
Wrdler is a vocabulary puzzle game with daily and weekly leaderboards, 8x6 grid, and two free letter guesses at the start. See CHANGELOG or specs for details on the latest updates.
|
| 27 |
|
|
|
|
| 29 |
|
| 30 |
Wrdler is a vocabulary learning game with a simplified grid and strategic letter guessing. The objective is to discover hidden words on a grid by making smart guesses before all letters are revealed.
|
| 31 |
|
| 32 |
+
**Current Version:** v0.3.0
|
| 33 |
+
**Last Updated:** 2026-03-04
|
| 34 |
|
| 35 |
+
## Recent Changes (v0.3.0)
|
| 36 |
+
- Comment out graphics modules to improve speed
|
| 37 |
- Small fixes to footer navigation and game-over dialog layout
|
| 38 |
+
- Synchronized documentation and spec headers to v0.3.0 (Last Updated 2026-03-04)
|
| 39 |
|
| 40 |
## Key Differences from BattleWords
|
| 41 |
|
pyproject.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
[project]
|
| 2 |
name = "wrdler"
|
| 3 |
-
version = "0.
|
| 4 |
description = "Wrdler vocabulary puzzle game - simplified version based on BattleWords with 8x6 grid, horizontal words only, no scope, 2 free letter guesses, and a settings-based daily/weekly leaderboard system. Features leaderboard UI, challenge sharing, and AI word lists."
|
| 5 |
readme = "README.md"
|
| 6 |
requires-python = ">=3.12,<3.13"
|
|
|
|
| 1 |
[project]
|
| 2 |
name = "wrdler"
|
| 3 |
+
version = "0.3.0"
|
| 4 |
description = "Wrdler vocabulary puzzle game - simplified version based on BattleWords with 8x6 grid, horizontal words only, no scope, 2 free letter guesses, and a settings-based daily/weekly leaderboard system. Features leaderboard UI, challenge sharing, and AI word lists."
|
| 5 |
readme = "README.md"
|
| 6 |
requires-python = ">=3.12,<3.13"
|
specs/leaderboard_spec.mdx
CHANGED
|
@@ -2,12 +2,12 @@
|
|
| 2 |
|
| 3 |
**Document Version:** 1.4.7
|
| 4 |
**Author:** GitHub Copilot
|
| 5 |
-
**Project Version:** 0.
|
| 6 |
-
**Last Updated:** 2026-03-
|
| 7 |
**Status:** ✅ Implemented and Documented
|
| 8 |
|
| 9 |
-
## Recent Changes (v0.
|
| 10 |
-
See `README.md` for the canonical release notes: [Recent Changes (v0.
|
| 11 |
|
| 12 |
---
|
| 13 |
|
|
|
|
| 2 |
|
| 3 |
**Document Version:** 1.4.7
|
| 4 |
**Author:** GitHub Copilot
|
| 5 |
+
**Project Version:** 0.3.0
|
| 6 |
+
**Last Updated:** 2026-03-04
|
| 7 |
**Status:** ✅ Implemented and Documented
|
| 8 |
|
| 9 |
+
## Recent Changes (v0.3.0)
|
| 10 |
+
See `README.md` for the canonical release notes: [Recent Changes (v0.3.0)](../README.md#recent-changes-v030)
|
| 11 |
|
| 12 |
---
|
| 13 |
|
specs/requirements.mdx
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
# Wrdler Requirements
|
| 2 |
|
| 3 |
**Status:** Production Ready - Leaderboards Implemented
|
| 4 |
-
**Version:** 0.
|
| 5 |
-
**Last Updated:** 2026-03-
|
| 6 |
|
| 7 |
## Recent Changes (v0.2.18)
|
| 8 |
See `README.md` for the canonical release notes: [Recent Changes (v0.2.18)](../README.md#recent-changes-v0218)
|
|
|
|
| 1 |
# Wrdler Requirements
|
| 2 |
|
| 3 |
**Status:** Production Ready - Leaderboards Implemented
|
| 4 |
+
**Version:** 0.3.0
|
| 5 |
+
**Last Updated:** 2026-03-04
|
| 6 |
|
| 7 |
## Recent Changes (v0.2.18)
|
| 8 |
See `README.md` for the canonical release notes: [Recent Changes (v0.2.18)](../README.md#recent-changes-v0218)
|
specs/specs.mdx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# Wrdler Specifications
|
| 2 |
|
| 3 |
-
**Version:** 0.
|
| 4 |
-
**Last Updated:** 2026-03-
|
| 5 |
|
| 6 |
**Status:** Production Ready - Leaderboards & Enhanced Settings Page Implemented
|
| 7 |
|
|
|
|
| 1 |
# Wrdler Specifications
|
| 2 |
|
| 3 |
+
**Version:** 0.3.0
|
| 4 |
+
**Last Updated:** 2026-03-04
|
| 5 |
|
| 6 |
**Status:** Production Ready - Leaderboards & Enhanced Settings Page Implemented
|
| 7 |
|
wrdler/__init__.py
CHANGED
|
@@ -8,8 +8,8 @@ Key differences from BattleWords:
|
|
| 8 |
- 2 free letter guesses at game start
|
| 9 |
- Daily and weekly leaderboards
|
| 10 |
|
| 11 |
-
v0.
|
| 12 |
"""
|
| 13 |
|
| 14 |
-
__version__ = "0.
|
| 15 |
__all__ = ["models", "generator", "logic", "ui", "word_loader", "leaderboard", "leaderboard_page"]
|
|
|
|
| 8 |
- 2 free letter guesses at game start
|
| 9 |
- Daily and weekly leaderboards
|
| 10 |
|
| 11 |
+
v0.3.0: Version bump, documentation and version updates.
|
| 12 |
"""
|
| 13 |
|
| 14 |
+
__version__ = "0.3.0"
|
| 15 |
__all__ = ["models", "generator", "logic", "ui", "word_loader", "leaderboard", "leaderboard_page"]
|
wrdler/ui.py
CHANGED
|
@@ -4,13 +4,13 @@ from typing import Iterable, Tuple, Optional
|
|
| 4 |
import streamlit as st
|
| 5 |
import streamlit.components.v1 as components
|
| 6 |
|
| 7 |
-
import matplotlib.pyplot as plt
|
| 8 |
-
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
|
| 9 |
-
from matplotlib import colors as mcolors
|
| 10 |
-
import tempfile
|
| 11 |
import os
|
| 12 |
-
from PIL import Image
|
| 13 |
-
import numpy as np
|
| 14 |
import time
|
| 15 |
from datetime import datetime
|
| 16 |
|
|
|
|
| 4 |
import streamlit as st
|
| 5 |
import streamlit.components.v1 as components
|
| 6 |
|
| 7 |
+
# import matplotlib.pyplot as plt
|
| 8 |
+
# from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
|
| 9 |
+
# from matplotlib import colors as mcolors
|
| 10 |
+
# import tempfile
|
| 11 |
import os
|
| 12 |
+
# from PIL import Image
|
| 13 |
+
# import numpy as np
|
| 14 |
import time
|
| 15 |
from datetime import datetime
|
| 16 |
|