How to use Recurrent Neural Network to play simple 2D Java game?

General Tech Learning Aids/Tools 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Learning Aids/Tools related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I made a simple game with LWJGL where you survive by dodging road obstacles. The only inputs to the game are the up and down arrow keys. I have a 2 dimensional array of "sensors" that contain the safety status of areas surrounding the player. What good Java RNN libraries are available, and how would I go about applying my sensor array as inputs to a deep rnn to train it live, and receive feedback whether to go up or down on the road. I have attached images below to help aid the concept.

I haven't tried any machine learning libraries yet because I don't quite understand how to use them in this situation, so your code snippet suggestions would come in handy.

//My "sensors"; status of player surroundings int[][] stuff = {{top1, top2, top3, top4},{mid1, mid2, mid3, mid4},{bottom1, bottom2, bottom3, bottom4}};

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.