Win a copy of Raising Young Coders: A Parent’s Guide to Teaching Programming at Home this week in the General Computing forum!
Forums Login/signup

Building a game using Spring Framework Java

+Pie Number of slices to send: Send
Hello

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.

Thank you
Lama
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Some Java gaming libary's worth exploring:

  • ]Slick2D
  • LWJGL
  • libGDX
  • JMonkeyEngine


  • This should get you started...
    +Pie Number of slices to send: Send
    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.
    +Pie Number of slices to send: Send
     

    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
    +Pie Number of slices to send: Send
    All your replies are highly appreciated.

    Thank you !

    reply
    reply
    This thread has been viewed 4593 times.
    Similar Threads
    2017 best pdfs/books/online guides? Overheating head
    Please Introduce me!!!!
    How complicated is it to manage a Wildfly cluster
    Struts or Spring ?
    Spring Framework
    More...

    All times above are in ranch (not your local) time.
    The current ranch time is
    Jun 27, 2025 08:15:37.