diff --git a/experiment-scripts/index.html b/experiment-scripts/index.html index 2f55d72..93e9e86 100644 --- a/experiment-scripts/index.html +++ b/experiment-scripts/index.html @@ -57,7 +57,7 @@ } .container { - max-width: 700px; + flex: 1; min-width: 400px; margin: 10px; padding: 20px; @@ -177,7 +177,9 @@ .flex { display: flex; - justify-content: center; + justify-content: flex-start; + flex-wrap: wrap; + gap: 20px; } @@ -573,5 +575,85 @@ }); } + +
+

How to Use This Interface

+ +
+
+

Setting Up a Charades Session

+
    +
  1. Configure Player IPs +
      +
    • Enter the IP addresses of Player 1 and Player 2 VR headsets
    • +
    • These should match the IPs you used in the control.py commands
    • +
    • Note: The default placeholders are examples - use your actual headset IPs
    • +
    +
  2. +
  3. Prepare Word List +
      +
    • Copy your word list from word-list.txt and paste it into the large text area
    • +
    • Click the "Shuffle" button to randomize the word order
    • +
    • Click the "Modify" button to generate interactive word items
    • +
    +
  4. +
  5. Set Game Parameters +
      +
    • Current Player For Acting: Select which player will be acting out the words
    • +
    • Time (s): Set the time limit for each word (e.g., 30 seconds)
    • +
    • Last Word Status: Set to "None" for the first word
    • +
    +
  6. +
+
+ +
+

Running the Experiment

+ +

Manual Mode (Individual Words)

+
    +
  1. Enter a word in the "Word" field
  2. +
  3. Select the acting player (Player 1 or Player 2)
  4. +
  5. Set the time limit
  6. +
  7. Click "Send" to transmit the word to the VR headsets
  8. +
+ +

Automatic Mode (Word List)

+
    +
  1. After clicking "Modify" with your word list, the interface shows all words with timers
  2. +
  3. The system automatically starts with the first word and counts down
  4. +
  5. During the session: +
      +
    • Mark words correct: Hover over a word and check the checkbox if guessed correctly
    • +
    • Visual indicators: ▶ = Current word, ✅ = Correct, ❌ = Time expired
    • +
    +
  6. +
  7. Stop the session: Click "Stop" to end early
  8. +
+
+ +
+

Exporting Results

+
    +
  1. After completing the word list, click "Save as CSV"
  2. +
  3. This downloads a CSV file with: +
      +
    • Word name
    • +
    • Whether it was guessed correctly (true/false)
    • +
    • Time remaining when completed
    • +
    +
  4. +
+ +

Troubleshooting

+
    +
  • If words don't appear in VR headsets, check that control.py commands were sent correctly
  • +
  • If timer doesn't start, ensure you clicked "Modify" after entering the word list
  • +
  • If players can't see each other, verify the MODE commands were sent with correct parameters
  • +
  • If shuffle doesn't work, make sure the word list isn't currently running (click "Stop" first)
  • +
+
+
+