When this app was first written, I had problems figuring out how to automatically generate schedules based on a variable number of players that had a multiple number of players other than 2.
Thanks to help from Andy Long at NKU, I have a new pattern for generating the partner schedules.
If you're interested in helping with this, email me at jfalter[at]gmail[dot]com and I can send some details. Otherwise I plan on implementing it next time I sit down with this software.
Logged In: YES
user_id=1432267
Originator: NO
Well it turns out that the new algorithm has the same limitations of the ones that I tried in the past. I hoped that it was a solution, and I thought that it was until I got to testing it and found out that there were still certain cases where it didnt work.
For anyone interested in helping, I've documented what I've tried in euchre/data/Generator.java
Logged In: YES
user_id=1432267
Originator: NO
Finally figured out how to do the schedule generation programmatically. The hard coded schedules and other failed attempts at schedule generation have been removed from Generator class, and the new function generateScheduleMatrix() has been added.
The new schedule matrix is in the format of schedule[player1][player2] tells what round the 2 players are partners in, as opposed to the previously used format of schedule[player1][round], which told what player player1 played with in the second index, round.
Special thanks to Rick Wolf for his help on the algorithm.
Logged In: YES
user_id=1432267
Originator: NO
Also note that I added a tester for the schedule generator in euchre.ScheduleTester.
Anyone wishing to expand the scheduling algorithm to other applications should also take and expand it to verify that it continues to work on the new application.