Spaces:
Running
Running
update git ignore
Browse files
.gitignore
CHANGED
|
@@ -10,6 +10,7 @@
|
|
| 10 |
*.userosscache
|
| 11 |
*.sln.docstates
|
| 12 |
*.env
|
|
|
|
| 13 |
|
| 14 |
# User-specific files (MonoDevelop/Xamarin Studio)
|
| 15 |
*.userprefs
|
|
@@ -485,3 +486,5 @@ Thumbs.db
|
|
| 485 |
# Ignore secrets
|
| 486 |
secrets.*
|
| 487 |
/.vs
|
|
|
|
|
|
|
|
|
| 10 |
*.userosscache
|
| 11 |
*.sln.docstates
|
| 12 |
*.env
|
| 13 |
+
*.venv
|
| 14 |
|
| 15 |
# User-specific files (MonoDevelop/Xamarin Studio)
|
| 16 |
*.userprefs
|
|
|
|
| 486 |
# Ignore secrets
|
| 487 |
secrets.*
|
| 488 |
/.vs
|
| 489 |
+
/battlewords/__pycache__/ui.cpython-311.pyc
|
| 490 |
+
/battlewords/__pycache__/__init__.cpython-311.pyc
|
battlewords.egg-info/PKG-INFO
CHANGED
|
@@ -36,6 +36,7 @@ BattleWords is a vocabulary learning game inspired by classic Battleship mechani
|
|
| 36 |
- Reveal grid cells and guess words for points
|
| 37 |
- Scoring tiers: Good (34–37), Great (38–41), Fantastic (42+)
|
| 38 |
- Responsive UI built with Streamlit
|
|
|
|
| 39 |
- Deterministic seed support (Beta/Full)
|
| 40 |
- Keyboard navigation and guessing (Beta/Full)
|
| 41 |
- Overlapping words on shared letters (Beta)
|
|
@@ -46,7 +47,7 @@ BattleWords is a vocabulary learning game inspired by classic Battleship mechani
|
|
| 46 |
## Installation
|
| 47 |
1. Clone the repository:
|
| 48 |
```
|
| 49 |
-
git clone
|
| 50 |
cd battlewords
|
| 51 |
```
|
| 52 |
2. (Optional) Create and activate a virtual environment:
|
|
@@ -54,9 +55,9 @@ BattleWords is a vocabulary learning game inspired by classic Battleship mechani
|
|
| 54 |
python -m venv venv
|
| 55 |
source venv/bin/activate # On Windows use `venv\Scripts\activate`
|
| 56 |
```
|
| 57 |
-
3. Install dependencies:
|
| 58 |
```
|
| 59 |
-
pip install -r
|
| 60 |
```
|
| 61 |
|
| 62 |
|
|
@@ -93,6 +94,27 @@ streamlit run app.py
|
|
| 93 |
3. Earn points for correct guesses and bonus points for unrevealed letters.
|
| 94 |
4. **The game ends when all six words are found or all word letters are revealed. Your score tier is displayed.**
|
| 95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
## Development Phases
|
| 97 |
|
| 98 |
- **Proof of Concept (0.1.0):** No overlaps, basic UI, single session.
|
|
|
|
| 36 |
- Reveal grid cells and guess words for points
|
| 37 |
- Scoring tiers: Good (34–37), Great (38–41), Fantastic (42+)
|
| 38 |
- Responsive UI built with Streamlit
|
| 39 |
+
- Wordlist sidebar controls (picker + one-click sort)
|
| 40 |
- Deterministic seed support (Beta/Full)
|
| 41 |
- Keyboard navigation and guessing (Beta/Full)
|
| 42 |
- Overlapping words on shared letters (Beta)
|
|
|
|
| 47 |
## Installation
|
| 48 |
1. Clone the repository:
|
| 49 |
```
|
| 50 |
+
git clone https://github.com/Oncorporation/BattleWords.git
|
| 51 |
cd battlewords
|
| 52 |
```
|
| 53 |
2. (Optional) Create and activate a virtual environment:
|
|
|
|
| 55 |
python -m venv venv
|
| 56 |
source venv/bin/activate # On Windows use `venv\Scripts\activate`
|
| 57 |
```
|
| 58 |
+
3. Install dependencies: ( add --system if not using a virutal environment)
|
| 59 |
```
|
| 60 |
+
uv pip install -r requirements.txt --link-mode=copy
|
| 61 |
```
|
| 62 |
|
| 63 |
|
|
|
|
| 94 |
3. Earn points for correct guesses and bonus points for unrevealed letters.
|
| 95 |
4. **The game ends when all six words are found or all word letters are revealed. Your score tier is displayed.**
|
| 96 |
|
| 97 |
+
## Changelog
|
| 98 |
+
|
| 99 |
+
- 0.1.5
|
| 100 |
+
- Hit/Miss circular indicator.
|
| 101 |
+
- Completed words render as non-interactive styled cells.
|
| 102 |
+
- Tooltips show cell coordinates for buttons and revealed cells.
|
| 103 |
+
- Stable letter map rebuild after reveals.
|
| 104 |
+
|
| 105 |
+
- 0.1.4
|
| 106 |
+
- Radar rewritten as an animated GIF with metallic gradient background and scope overlay.
|
| 107 |
+
- Session-level caching of the generated radar GIF to avoid regeneration during a session.
|
| 108 |
+
- Mobile layout improvements: radar above grid on small screens; tighter grid gaps and horizontal scrolling per row.
|
| 109 |
+
|
| 110 |
+
- 0.1.3
|
| 111 |
+
- Sidebar wordlist picker and `Sort Wordlist` action (length-first then alphabetic) with a 5-second feedback delay before restarting a new game.
|
| 112 |
+
- Score panel improvements, per-word points, and emphasized final score styling.
|
| 113 |
+
|
| 114 |
+
## Known Issues / TODO
|
| 115 |
+
|
| 116 |
+
- Word list loading bug: the app may not select the proper word lists in some environments. Investigate `word_loader.get_wordlist_files()` / `load_word_list()` and sidebar selection persistence to ensure the chosen file is correctly used by the generator.
|
| 117 |
+
|
| 118 |
## Development Phases
|
| 119 |
|
| 120 |
- **Proof of Concept (0.1.0):** No overlaps, basic UI, single session.
|
battlewords.egg-info/SOURCES.txt
CHANGED
|
@@ -12,8 +12,9 @@ battlewords.egg-info/SOURCES.txt
|
|
| 12 |
battlewords.egg-info/dependency_links.txt
|
| 13 |
battlewords.egg-info/requires.txt
|
| 14 |
battlewords.egg-info/top_level.txt
|
| 15 |
-
battlewords/words/
|
| 16 |
battlewords/words/classic.txt
|
|
|
|
| 17 |
tests/test_apptest.py
|
| 18 |
tests/test_generator.py
|
| 19 |
tests/test_logic.py
|
|
|
|
| 12 |
battlewords.egg-info/dependency_links.txt
|
| 13 |
battlewords.egg-info/requires.txt
|
| 14 |
battlewords.egg-info/top_level.txt
|
| 15 |
+
battlewords/words/__init__.py
|
| 16 |
battlewords/words/classic.txt
|
| 17 |
+
battlewords/words/wordlist.txt
|
| 18 |
tests/test_apptest.py
|
| 19 |
tests/test_generator.py
|
| 20 |
tests/test_logic.py
|
battlewords/__pycache__/__init__.cpython-311.pyc
DELETED
|
Binary file (207 Bytes)
|
|
|
battlewords/__pycache__/ui.cpython-311.pyc
DELETED
|
Binary file (11.5 kB)
|
|
|