๐Ÿ‘‘ Sole Hub โ€“ Admin

For Sole English โ€“ Ms. May only: teacher accounts, messages, games and the website.

First time here. Choose an admin password. It must be different from your teacher password, so a teacher who knows the teacher password still cannot open this page.

โ† Teacher page

๐Ÿ‘‘ Sole Hub โ€“ AdminSole English โ€“ Ms. May
My classes (teacher page) โ†—Student page โ†—

๐Ÿ‘‘ Teacher accounts

Teachers register on the teacher login page. Each teacher has their own classes, students and topics โ€“ they never see yours, and you only see their numbers here. Games always come from your account.

๐Ÿ“ฅ From teachers

๐Ÿ“ค Notices you sent

โฌ† Add or update lessons

Choose the .txt files the AI made (or paste the text). Lessons with the same CODE replace the old version โ€“ classes that use them get the new one at once.

Where do these files come from?

๐Ÿ“– Library

๐Ÿ“Š Most played games

Counted every time a game is played. Members = students in classes (finished levels). Guests = guest students. Class โ€“ members / Class โ€“ guests = ๐ŸŽฒ Play in class on the TV by member teachers / guest teachers.

๐ŸŽŸ๏ธ Guest students

Each device gets a guest code and 40 minutes a day (Vietnam time). Their results are not saved in any class.

๐Ÿ‘€ Guest teachers

Guest teachers can only use the Library (โ–ถ Teach and ๐ŸŽฒ Play in class), 40 minutes a day. Only you can see this list.

๐Ÿค– Make my game work in Sole Hub

  1. Download the guide for AI (and the template game if you like).
  2. Give the AI (Claude, ChatGPTโ€ฆ) your game HTML + the guide. The message to paste is at the end of the guide.
  3. Choose the new file below and press ๐Ÿงช Test. Play it to the end โ€“ every line must turn green.
  4. All green? Press โฌ† Upload game.
โฌ‡ Guide for AI (.md)โฌ‡ Template game

โฌ† Upload a new game

Upload one HTML file. To work in Sole Hub, the game must use the Sole Hub bridge (see the guide on the right). Max 5.5 MB.

๐ŸŽฎ Games for every account

Turn a game off to hide it from all students โ€“ yours and every teacher account.

๐Ÿงฉ Developer guide โ€“ the Sole Hub bridge

The hub opens a game as game.html?hub=1 inside a frame and talks to it with postMessage:
1๏ธโƒฃ When the game has loaded, it sends {sole:'ready'} to window.parent.
2๏ธโƒฃ The hub replies {sole:'start', name, n, items, read, bot, mode}. items is a list of {q, options} โ€“ the first option is always the correct answer (shuffle them yourself).
3๏ธโƒฃ After every answer the game sends {sole:'answer', ok, answered, correct, wrong, score}. It can also send {sole:'score', score}.
4๏ธโƒฃ When the student has finished the n questions, the game sends {sole:'end', score, answered, correct, wrong}. The hub then shows the final task.
โœ… Tips: play solo only (one player), donโ€™t ask for names, hide your own menus when ?hub=1 is in the URL, keep sounds and read-aloud on.
๐Ÿ“„ The full rules and the bridge code to copy are in โฌ‡ Guide for AI (left). Errors inside the game are sent as {sole:'error', message}.

๐ŸŒ Front page contact

Shown on the student login page and in the Privacy & Terms page.

๐Ÿ”‘ Admin password

Only for this page. Keep it different from your teacher password and don't share it with other teachers.