ParadigmShifter
Random Nonsense Generator
An N sided table has N symbols to choose from 0, ..., N-1, that's all. EDIT: And a string length of N of course, for the N vertices. You can imagine them as arrows rotated by 360/N degree steps.
The thing you need to recurse is the nested for loops, shouldn't be too hard. All the other functions can just take a list length as parameter.
Just kidding about the text representation thing... good work!
EDIT: Maybe there are 3 possibilities for a 2 sided table... 00, 01 and 10. 4th beer prevents me from doing any more maths atm.
EDIT2: That's why I said "clearly" when I claimed there are only 2 possibilities for N=2. Classic hand-waving dodge there
EDIT3: Yep, there are 3 possibilities for N=2, these are 00 (=11 rotated thru 180 degrees), 01 and 10 (arrows pointing towards vs. away from). Clearly
The thing you need to recurse is the nested for loops, shouldn't be too hard. All the other functions can just take a list length as parameter.
Just kidding about the text representation thing... good work!
EDIT: Maybe there are 3 possibilities for a 2 sided table... 00, 01 and 10. 4th beer prevents me from doing any more maths atm.
EDIT2: That's why I said "clearly" when I claimed there are only 2 possibilities for N=2. Classic hand-waving dodge there

EDIT3: Yep, there are 3 possibilities for N=2, these are 00 (=11 rotated thru 180 degrees), 01 and 10 (arrows pointing towards vs. away from). Clearly
