Spaces:
Sleeping
Sleeping
cleaned
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- public/admin-guide.md +0 -95
- public/media/girl_flowers.png +0 -3
- public/media/grandma_cookies.png +0 -3
- public/media/readme.txt +0 -11
- public/media/sent01.jpg +0 -3
- public/media/sent02.jpg +0 -3
- public/media/sent03.jpg +0 -3
- public/media/sent04.jpg +0 -3
- public/media/sent05.jpg +0 -3
- public/media/sent06.jpg +0 -3
- public/media/sent07.jpg +0 -3
- public/media/sent08.jpg +0 -3
- public/media/sent09.jpg +0 -3
- public/media/sent10.jpg +0 -3
- public/media/sent11.jpg +0 -3
- public/media/sent12.jpg +0 -3
- public/media/sent13.jpg +0 -3
- public/media/sent14.jpg +0 -3
- public/media/sent15.jpg +0 -3
- public/media/sent16.jpg +0 -3
- public/media/sent17.jpg +0 -3
- public/media/sent18.jpg +0 -3
- public/media/sent19.jpg +0 -3
- public/media/sent20.jpg +0 -3
- public/media/sent21.jpg +0 -3
- public/media/sent22.jpg +0 -3
- public/media/sent23.jpg +0 -3
- public/media/sent24.jpg +0 -3
- public/media/sent25.jpg +0 -3
- public/media/sent26.jpg +0 -3
- public/media/sent27.jpg +0 -3
- public/media/sent28.jpg +0 -3
- public/media/sent29.jpg +0 -3
- public/media/sent30.jpg +0 -3
- public/media/sent31.jpg +0 -3
- public/media/sent32.jpg +0 -3
- public/media/sent33.jpg +0 -3
- public/media/sent34.jpg +0 -3
- public/media/sent35.jpg +0 -3
- public/media/sent36.jpg +0 -3
- public/media/sent37.jpg +0 -3
- public/media/sent38.jpg +0 -3
- public/media/sent39.jpg +0 -3
- public/media/sent40.jpg +0 -3
- public/media/sent41.jpg +0 -3
- public/media/sent42.jpg +0 -3
- public/media/sent43.jpg +0 -3
- public/media/sent44.jpg +0 -3
- public/media/sent45.jpg +0 -3
- public/media/sent46.jpg +0 -3
public/admin-guide.md
DELETED
@@ -1,95 +0,0 @@
|
|
1 |
-
# Colorful Semantics - "To Whom?" Game - Administrator Guide
|
2 |
-
|
3 |
-
This guide explains how to customize and manage the Colorful Semantics "To Whom?" educational game.
|
4 |
-
|
5 |
-
## Table of Contents
|
6 |
-
1. [Game Overview](#game-overview)
|
7 |
-
2. [Adding New Questions](#adding-new-questions)
|
8 |
-
3. [Media Requirements](#media-requirements)
|
9 |
-
4. [Question JSON Structure](#question-json-structure)
|
10 |
-
5. [Troubleshooting](#troubleshooting)
|
11 |
-
|
12 |
-
## Game Overview
|
13 |
-
|
14 |
-
The "To Whom?" game teaches sentence structure using four colorful semantic components:
|
15 |
-
- **Orange**: Who (the subject)
|
16 |
-
- **Yellow**: Doing (the verb phrase)
|
17 |
-
- **Green**: What (the object)
|
18 |
-
- **Pink**: To Whom (the recipient)
|
19 |
-
|
20 |
-
Players are presented with an image or video and must select the correct recipient ("to whom") from multiple choices.
|
21 |
-
|
22 |
-
## Adding New Questions
|
23 |
-
|
24 |
-
### Step 1: Prepare Media File
|
25 |
-
1. Create or select an image (JPG/PNG) or short video (MP4) that clearly shows someone giving something to someone else
|
26 |
-
2. Name your file without spaces (e.g., `teacher_book.jpg` or `dad_gift.mp4`)
|
27 |
-
3. Place the file in the `/public/media/` directory
|
28 |
-
|
29 |
-
### Step 2: Add Question to JSON
|
30 |
-
1. Open the file `/public/questions.json`
|
31 |
-
2. Add a new JSON object to the array, following this structure:
|
32 |
-
|
33 |
-
```json
|
34 |
-
{
|
35 |
-
"file": "/media/your_file_name.jpg",
|
36 |
-
"who": "The person giving",
|
37 |
-
"doing": "is passing/giving/handing",
|
38 |
-
"what": "the object being given",
|
39 |
-
"to_whom": "to the recipient",
|
40 |
-
"distractors": ["wrong option 1", "wrong option 2", "wrong option 3"]
|
41 |
-
}
|
42 |
-
```
|
43 |
-
|
44 |
-
3. Save the file
|
45 |
-
4. Refresh the application to see your new question appear in the rotation
|
46 |
-
|
47 |
-
## Media Requirements
|
48 |
-
|
49 |
-
### Images
|
50 |
-
- **Formats**: JPG, PNG
|
51 |
-
- **Recommended size**: 800-1200px wide
|
52 |
-
- **File size**: Keep under 500KB for optimal performance
|
53 |
-
|
54 |
-
### Videos
|
55 |
-
- **Format**: MP4
|
56 |
-
- **Duration**: Keep under 5 seconds to minimize load time
|
57 |
-
- **Resolution**: 720p or lower recommended
|
58 |
-
- **File size**: Keep under 2MB
|
59 |
-
|
60 |
-
## Question JSON Structure
|
61 |
-
|
62 |
-
Each question in the `questions.json` file must include these fields:
|
63 |
-
|
64 |
-
| Field | Description | Example |
|
65 |
-
|-------|-------------|---------|
|
66 |
-
| `file` | Path to media file, starting with "/media/" | "/media/teacher_book.jpg" |
|
67 |
-
| `who` | The subject (person giving) | "The teacher" |
|
68 |
-
| `doing` | The verb phrase | "is giving" |
|
69 |
-
| `what` | The object being given | "a book" |
|
70 |
-
| `to_whom` | The correct recipient | "to the student" |
|
71 |
-
| `distractors` | Array of incorrect options | ["to Mom", "to the principal"] |
|
72 |
-
|
73 |
-
Notes:
|
74 |
-
- You can include 1-5 distractors
|
75 |
-
- The "to_whom" value should start with "to "
|
76 |
-
- Keep text short so it fits in the colored boxes
|
77 |
-
|
78 |
-
## Troubleshooting
|
79 |
-
|
80 |
-
### Media Not Displaying
|
81 |
-
- Ensure the path in the JSON matches the actual file location
|
82 |
-
- Check that the file has no spaces in its name
|
83 |
-
- Verify the file format is supported (JPG, PNG, or MP4)
|
84 |
-
|
85 |
-
### Game Not Loading New Questions
|
86 |
-
- Check JSON file for syntax errors (missing commas, brackets, etc.)
|
87 |
-
- Ensure the JSON file is properly formatted with square brackets `[]` enclosing all questions
|
88 |
-
- Refresh the page completely (Ctrl+F5 or Cmd+Shift+R)
|
89 |
-
|
90 |
-
### Video Playback Issues
|
91 |
-
- Make sure the video is in MP4 format
|
92 |
-
- Try reducing video file size or resolution
|
93 |
-
- Check if the video codec is widely supported (H.264 recommended)
|
94 |
-
|
95 |
-
For additional support, please contact the development team.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public/media/girl_flowers.png
DELETED
Git LFS Details
|
public/media/grandma_cookies.png
DELETED
Git LFS Details
|
public/media/readme.txt
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
Place your media files (images and videos) in this directory.
|
2 |
-
|
3 |
-
Recommended formats:
|
4 |
-
- Images: JPG, PNG (800-1200px wide, <500KB)
|
5 |
-
- Videos: MP4 (5 seconds or less, 720p or lower, <2MB)
|
6 |
-
|
7 |
-
File naming:
|
8 |
-
- Avoid spaces in filenames (use underscores instead)
|
9 |
-
- Example: teacher_book.jpg or dad_gift.mp4
|
10 |
-
|
11 |
-
After adding media, update the questions.json file in the parent directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public/media/sent01.jpg
DELETED
Git LFS Details
|
public/media/sent02.jpg
DELETED
Git LFS Details
|
public/media/sent03.jpg
DELETED
Git LFS Details
|
public/media/sent04.jpg
DELETED
Git LFS Details
|
public/media/sent05.jpg
DELETED
Git LFS Details
|
public/media/sent06.jpg
DELETED
Git LFS Details
|
public/media/sent07.jpg
DELETED
Git LFS Details
|
public/media/sent08.jpg
DELETED
Git LFS Details
|
public/media/sent09.jpg
DELETED
Git LFS Details
|
public/media/sent10.jpg
DELETED
Git LFS Details
|
public/media/sent11.jpg
DELETED
Git LFS Details
|
public/media/sent12.jpg
DELETED
Git LFS Details
|
public/media/sent13.jpg
DELETED
Git LFS Details
|
public/media/sent14.jpg
DELETED
Git LFS Details
|
public/media/sent15.jpg
DELETED
Git LFS Details
|
public/media/sent16.jpg
DELETED
Git LFS Details
|
public/media/sent17.jpg
DELETED
Git LFS Details
|
public/media/sent18.jpg
DELETED
Git LFS Details
|
public/media/sent19.jpg
DELETED
Git LFS Details
|
public/media/sent20.jpg
DELETED
Git LFS Details
|
public/media/sent21.jpg
DELETED
Git LFS Details
|
public/media/sent22.jpg
DELETED
Git LFS Details
|
public/media/sent23.jpg
DELETED
Git LFS Details
|
public/media/sent24.jpg
DELETED
Git LFS Details
|
public/media/sent25.jpg
DELETED
Git LFS Details
|
public/media/sent26.jpg
DELETED
Git LFS Details
|
public/media/sent27.jpg
DELETED
Git LFS Details
|
public/media/sent28.jpg
DELETED
Git LFS Details
|
public/media/sent29.jpg
DELETED
Git LFS Details
|
public/media/sent30.jpg
DELETED
Git LFS Details
|
public/media/sent31.jpg
DELETED
Git LFS Details
|
public/media/sent32.jpg
DELETED
Git LFS Details
|
public/media/sent33.jpg
DELETED
Git LFS Details
|
public/media/sent34.jpg
DELETED
Git LFS Details
|
public/media/sent35.jpg
DELETED
Git LFS Details
|
public/media/sent36.jpg
DELETED
Git LFS Details
|
public/media/sent37.jpg
DELETED
Git LFS Details
|
public/media/sent38.jpg
DELETED
Git LFS Details
|
public/media/sent39.jpg
DELETED
Git LFS Details
|
public/media/sent40.jpg
DELETED
Git LFS Details
|
public/media/sent41.jpg
DELETED
Git LFS Details
|
public/media/sent42.jpg
DELETED
Git LFS Details
|
public/media/sent43.jpg
DELETED
Git LFS Details
|
public/media/sent44.jpg
DELETED
Git LFS Details
|
public/media/sent45.jpg
DELETED
Git LFS Details
|
public/media/sent46.jpg
DELETED
Git LFS Details
|