I currently have a school project that requires me to build a game using JAVA. The game is based on the " The knight of the round table" rules. I have a decent experience with Java generally. I have never built a game using JAVA before. I was told to use the Spring Framework. I would like to ask about what technologies I could learn about or framework libraries I could start with and use in order to start building the game? I would really appreciate your help in guiding me through the first steps for a beginner like me.
Spring is a dependency injection framework. It will allow you to define a code architecture where components can change totally independent to others. Games typically have a loop based architecture. A game loop runs continuously and refreshes the screen for every animation frame. I confess that I don't see much relation between a game and Spring DI. You can use Spring but you don't absolutely need it to a create a game.
Your game could be created with a text based user interface, a GUI, or a GUI with animation. What are your requirements asking for? And, I don't quite see where Spring is to be used here.
Carey Brown wrote:Your game could be created with a text based user interface, a GUI, or a GUI with animation. What are your requirements asking for? And, I don't quite see where Spring is to be used here.
Hello Carey,
According to my prof if I caught him properly, since the course involves around writing code using the strategy pattern + following the decoupled code, he suggested using Spring framework. In addition to that he mentioned that
"Also, please note that Spring is about making WEB apps and that it will be likely required for those doing Java..."
Could you please suggest other things I could refer to Spring other than what I've included above ?
Thank you