See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More
( 6 months ago )

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

General Tech Learning Aids/Tools
Max. 2000 characters

Shiv Thapa


( 6 months 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}};

what's your interest