A way to randomly assign a group of players overwatch roles.
keybindings:
Up/Down arrow keys: Navigate up and down in the currently selected list.
Right/D: Move The player currently selected in the 'available' list to the 'selected' list.
Left/A: Move The player currently selected in the 'selected' list to the 'available' list.
Ctrl: Swap currently focused list.
1,2,3,4,5: Toggle the roles that players can be assigned to.
Space/Return: Roll the selector.
Edit player names:
To edit the players in the available list simply edit the 'players.txt' file in the same directory
as the 'RoleSelector.py'. Place each player name on a newline, save the file and then relaunch the program.
How to use:
Move the players you wish to select from the 'available' list into the 'selected' list.
click the player name in the list then the arrow buttons or use the arrow keys and ctrl.
Once you have your player list ready, select which roles you wish to assign using the checkboxes on the right
or use the numbers 1 to 5 to select them respectively.
Once you have both the players and rolls selected, press the roll button and the players will be assigned randomly
to their roles at the bottom of the window. Any errors in this process will be displayed at the bottom in the grey.
How to Run:
This program requires at least python 3.7 to run. Simply double click the 'RoleSelector.py' file with python
installed to launch.
May not function correctly on versions of python with older tcl-tk versions on mac and linux