Author: Xuhang Fan
GitHub: https://github.com/Fanisting
this app shows how to let participants to select their partner in a 2-agent group.
- Name: get each player's own name
- Partner: get their expected partner's name
- Wait: wait for all groups, prepare for group match
- NotMatch: test whether some one is double-selected, if yes, the match should restart
- MatchPage: group match here
- Results: show the matching results
- All of the nams are restricted, and should be found in the '_rooms/econ101.txt'
- Designed for PLAYERS_PER_GROUP = 2, modify the code to make it more flexible
- Now the group will be changed in every round, disable several pages to make the only for the first round
- According to the existing 'econ101.txt', the available names for test are: Alice, Bob, Claire, and Dana
- Have fun!