Playing with tables
Hey guys, this will be kinda hard to explain but I will try my best.
So I am making a wordgame and have two tables.
I have different words in the first table, separated by rows (1.1 , 2.1, 3.1 etc).
And the second table is supposed to be the answers, where each answer is in rows corresponding to the rows in the first table (Puzzle 1.1 = Answer 1.1, Puzzle 2.2 = Answer 2.2 etc). These are of course going to be connected, BUT the problem is that I have multiple answers for each puzzle, which I want to separate by having multiple columns on each row.
Kinda like this:
Table1 (P = Puzzle):
<- Columns ->
[ 1 ] [ 2 ] [ 3 ]
[ 2 ] [ P ] [ ]
[ 3 ] [ P ] [ ]
[ 4 ] [ P ] [ ]
[ 5 ] [ P ] [ ]
Table2 (A = Answer)
<- Columns ->
[ 1 ] [ 2 ] [ 3 ]
[ 2 ] [ A1 ] [ A1 ]
[ 3 ] [ A2 ] [ A2 ]
[ 4 ] [ A3 ] [ A3 ]
[ 5 ] [ A4 ] [ A4 ]
So simply put, I want the Puzzles to be connected with the Answers in the second table. BUT also letting the additional answers on the same row to be available.
You are supposed to make the answer by using letters, - so that when you form one of the words from the answer-table corresponding to the puzzle-table, it gets correct.
I have tried countless hours trying to solve this, but I only managed to have the tables connected with 1 answer, and not the other answers on the same row..
If there is a "table expert" out there I would love to hear your suggestions. Is it possible or am I wasting my time?
Thanks for reading!
Sincerely
Frustrated GS Rookie
Comments
Sounds like you can put everything in one table, and just do:
if tableCellValue(table,question row,1) = tableCellValue(table,question row,2)
or
if tableCellValue(table,question row,1) = tableCellValue(table,question row,3)
or
if tableCellValue(table,question row,1) = tableCellValue(table,question row,4)
etc.
Or is there something more to it than that?
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
That might work! Will give it a shot after work, thank you so much