reset password
Author Message
aalva190
Posts: 64
Posted 14:03 Jan 26, 2017 |

I have 2 questions.

First thing first, are the colors randomly selected on each tile? (We make the code to check whether the random colors match other tiles by rotating). 

Second question, can the tiles be place in a specific order?(Can it be placed like the picture?) Or does it have to have to placed how the original picture.

Attachments:
j05h14
Posts: 3
Posted 14:29 Jan 26, 2017 |

He said that there's going to be a file that has the colors of the hexagons

304374842
Posts: 56
Posted 20:29 Jan 29, 2017 |

I'm still a little confused about the actual instructions for this lab.  We are supposed to have a user input file (like his example).  Then is the recursion supposed to figure out how the pieces fit together correctly?  So, we have the file and then we can rotate the hexagon so the colors match?  I'm confused.

aalva190
Posts: 64
Posted 20:47 Jan 29, 2017 |
304374842 wrote:

I'm still a little confused about the actual instructions for this lab.  We are supposed to have a user input file (like his example).  Then is the recursion supposed to figure out how the pieces fit together correctly?  So, we have the file and then we can rotate the hexagon so the colors match?  I'm confused.

Well for sure i know based on the file. We are supposed to read it. Create new objects based on the input. But, i am also confused in how to compare the colors. I can make it happen for the first two tiles but if the second tile has to match with the 5th and 4th tile as well then i my code wont work. 

RandomAccess
Posts: 101
Posted 20:47 Jan 29, 2017 |

I'm having a real hard time figuring out how the file chooser thing works, and I have a really big feeling it might be incredibly important for what I'm supposed to do for the assignment. Any tips on how to figure it out?

aalva190
Posts: 64
Posted 20:50 Jan 29, 2017 |
RandomAccess wrote:

I'm having a real hard time figuring out how the file chooser thing works, and I have a really big feeling it might be incredibly important for what I'm supposed to do for the assignment. Any tips on how to figure it out?

Yes this is actually very important to this assiment and future java fx projects. I recommend reviewing the book for I/o section. Its actually very simple, just need to know how to use the code ect.

RandomAccess
Posts: 101
Posted 21:42 Jan 29, 2017 |
aalva190 wrote:
RandomAccess wrote:

I'm having a real hard time figuring out how the file chooser thing works, and I have a really big feeling it might be incredibly important for what I'm supposed to do for the assignment. Any tips on how to figure it out?

Yes this is actually very important to this assiment and future java fx projects. I recommend reviewing the book for I/o section. Its actually very simple, just need to know how to use the code ect.

Looked it up, and it seems to be a method of reading information about files and directories on your computer. Not sure how that relates to creating an input-based gui pattern.

Last edited by RandomAccess at 21:42 Jan 29, 2017.
aalva190
Posts: 64
Posted 22:06 Jan 29, 2017 |
RandomAccess wrote:
aalva190 wrote:
RandomAccess wrote:

I'm having a real hard time figuring out how the file chooser thing works, and I have a really big feeling it might be incredibly important for what I'm supposed to do for the assignment. Any tips on how to figure it out?

Yes this is actually very important to this assiment and future java fx projects. I recommend reviewing the book for I/o section. Its actually very simple, just need to know how to use the code ect.

Looked it up, and it seems to be a method of reading information about files and directories on your computer. Not sure how that relates to creating an input-based gui pattern.

Gui is a totally different story. I think i/o is essential to make this program work

 

RandomAccess
Posts: 101
Posted 22:59 Jan 29, 2017 |
aalva190 wrote:
RandomAccess wrote:
aalva190 wrote:
RandomAccess wrote:

I'm having a real hard time figuring out how the file chooser thing works, and I have a really big feeling it might be incredibly important for what I'm supposed to do for the assignment. Any tips on how to figure it out?

Yes this is actually very important to this assiment and future java fx projects. I recommend reviewing the book for I/o section. Its actually very simple, just need to know how to use the code ect.

Looked it up, and it seems to be a method of reading information about files and directories on your computer. Not sure how that relates to creating an input-based gui pattern.

Gui is a totally different story. I think i/o is essential to make this program work

 

I thought Gui was required?

aalva190
Posts: 64
Posted 23:51 Jan 29, 2017 |

It is, but not on this part i think. I think we need to build the java part and then on thursday we do the gui. Idk if i am wrong. But thats how i understood him 

jkang
Posts: 33
Posted 18:43 Jan 30, 2017 |

Is the weds 10:30am deadline for this correct?

aalva190
Posts: 64
Posted 19:08 Jan 30, 2017 |
jkang wrote:

Is the weds 10:30am deadline for this correct?

I think it must be an error. Idk why he would give us less time when we have his class on Thursday. I think he mest up because i think he said hes used to Mondays and Wednesdays. 

jkang
Posts: 33
Posted 21:20 Jan 30, 2017 |

regarding rotation: are the hexagons fixed in their position and we rotate each hexagon, or did he mean swapping hexagon positions with one another? 

I initially thought it was the first one but after seeing the picture sample, it seems as though it's the 2nd one...

jkang
Posts: 33
Posted 01:04 Feb 09, 2017 |

no css files accepted for this?

aalva190
Posts: 64
Posted 01:06 Feb 09, 2017 |

Thats correct.i feel you can do the css on java file i done it before.

jkang
Posts: 33
Posted 01:19 Feb 09, 2017 |

Yeah i used setStyle() which you then add css lines to