Quote:
I am a very beginner in programming and I want to use java to write the program. I have researched some sources but it did not work for me. I appreciate every helps.
The best advice is
don't. This kind of project is for fully skilled programmers.
It is like trying to get a degree in engineering by building a space shuttle in your backyard and the typical "Not sure where to start" only tell everyone that you have already failed both.
It is the same for getting your driving license by winning a Nascar race or formula 1.
Advice: forget your project and learn properly programming.
Read books, follow tutorials, small projects there are not here to be useful, they are here to teach you something. Learn algorithms ...