Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

educator version #883

Open
alee opened this issue Aug 22, 2023 · 1 comment
Open

educator version #883

alee opened this issue Aug 22, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request high priority

Comments

@alee
Copy link
Member

alee commented Aug 22, 2023

initial prototype

stand up a separate instance at teach.portofmars.asu.edu or something similar (check with research group on URL)

educators need to be authorized / authenticated so we will need some way to attach an additional Role to Users

build a basic educator dashboard that allows the educator to add a Class + Term and specify the number of students N in that class. Then generate a list of N authorized users / students that can participate in a game (e.g., N shortuuid type alphanumeric logins that immediately get placed into the Class)

The educator should be able to monitor those who have signed in and once everyone is checked in they can start games for all which begins the group randomization + partitioning etc. If not evenly divisible by 5, some remainder < 5 will play with bots.

@sgfost
Copy link
Contributor

sgfost commented Dec 11, 2023

Authentication

  • generate teacher/user entities with a username/password (cli util?)
    • add a password field to Teacher
  • passport local strategy for signing in as a teacher with a username/password
  • local strategy for signing in as a student with a classroom auth token
  • local strategy for signing back in as a student with a rejoin passcode
  • endpoint for receiving a student's name and returning a rejoin passcode
  • 3 tabs on login page (Join w/ game code, sign back in, sign in as teacher)

Teacher dashboard

FIRST CUT:

  • accessible by teacher users and admin users
  • teacher can create a new classroom and view for each classroom:
    • classroom auth token (in large text, for displaying on projector)
    • the active lobby (with a start button)
    • active games (similar to admin/Rooms.vue but filtered by relevant classroom)
    • game history (similar to admin/Games.vue but filtered by relevant classroom)

Lobby

  • lobby room corresponds to a classroom
  • games do not start until a teacher chooses to start
  • on start, distributes students into games as even and as full as possible e.g. 14 -> 5, 5, 4, 16 -> 4, 4, 4, 4, 27 -> 5, 5, 5, 5, 4, 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority
Projects
None yet
Development

No branches or pull requests

4 participants