I am developing a small application and trying my best to make it as professional as possible in regards to design pattern etc. It is a JavaFX app, and my app works fine but I am uneasy at the fact that I am instantiating the back end in the front end. I tried my best to follow MVC pattern and I think I have so far, but I can't see any other way around this. Basically, my application has difficulty levels, and based on the difficulty level chosen by user (which is required to create the backend) a game with that difficulty level is created. And I can't think of any other way to start the backend without first knowing the difficulty level, thus it is instantiated in the front end. However, besides that the front end has no logic. It only draws and sends user input to the back-end, the back end of course then has the logic and tells the front end where to draw the changes.Is this considered ok? If not how should each side of the pipe be launched?
Which End should start first? (MVC)
java;programming practices;mvc;javafx