Hello everyone. I am trying to figure out a table, that would show the match ups of a round robin tournament, chess, basketball, or baseball. It is a team of 8 or 16 teams in the tournament. Each team plays all participants at least once. Single round robin matches. I will start with the 8 teams. There will be (n-1) rounds, and n + 1 = 8 games per team. In all 7 rounds. This table must show each player 1 to 8 playing an opponent at least once. So I counted 8 Columns, and 7 rows and with no subtitles. So here is what what I came up with the 8 teams round robin tournament.
import (something, i'll figure it out later //the files or class imported public class TeamsTable { String n; public static void main(String[ ] args) { for(int I = 0; I > = 8; I ++) { } } } // not finish, pardon the wait.
Studying codes. Already have the table made out for the 8 team tournament on paper. I just want to show the format table on a JApplet.
Thanks for your patience. I'll be right back. Working on the program on the top of my head and researching the graph or tables.
For example, team 1, would play
Teams 2 to team 7. Team 2 would play team 1, & team 3 to 8. Team 3 would play team 1 & 2, & team 4 to 8. This would continue for 7 rounds of play for each team 1 through 8. Since I already have the numbers of pairs for each team, I just need a chart graph to put those numbers in. So for now, let us assume the graph has "****" to fill in as numbers. I just want to draw the chart graph. I can put in the "dummy" variables" "****" now. I just want to see how the chart will look. No need yet to put the numbers in here,.the numbers is not the issue. Making the 8 x 7 chart is my only concern. Filling in those numbers would be.easy.
I am working in the dark. So the details are off my head. The codes are a duzzy. After working on the round robin charts.by pen for both 8 teams and 16 teams, at present java programming became blank to me, as I am typing this in the dark.
Thank you for understanding or seeing the conceptual idea, even though getting those numbers now, and on my mobile phone, would be counter productive. So, thanks again if you understood the problem.