Neural Network: drones

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
darkfrei
Party member
Posts: 1168
Joined: Sat Feb 08, 2020 11:09 pm

Neural Network: drones

Post by darkfrei »

Hi all!

I've made a small program with bots, that must take targets. Bots are using the neural network with Genetic Algorithm.
Attachments
2021-04-21T18_12_23.jpg
2021-04-21T18_12_23.jpg (644.68 KiB) Viewed 4730 times
nn-drone-03.love
(3.89 KiB) Downloaded 150 times
nn-drone-04.love
(4.09 KiB) Downloaded 199 times
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
togFox
Party member
Posts: 764
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Neural Network: drones

Post by togFox »

Intriguing. They learn? I tried to write a nn in Love (twice) but couldn't get smart enough.

Your bots get smart?
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
User avatar
darkfrei
Party member
Posts: 1168
Joined: Sat Feb 08, 2020 11:09 pm

Re: Neural Network: drones

Post by darkfrei »

togFox wrote: Wed Apr 21, 2021 11:07 pm Intriguing. They learn? I tried to write a nn in Love (twice) but couldn't get smart enough.

Your bots get smart?
Yes, at the start they are totally random, but you can press space to make the learning process much faster. On the screen it takes about 300k targets :)

:ehem: Cheat: The max speed must be limited, the acceleration must be pretty high.
The previous version was much easier, lower acceleration, and it takes less targets, about 300.
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
togFox
Party member
Posts: 764
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Neural Network: drones

Post by togFox »

lolz - I thought the traces on the screen was dust. I tried to clean my monitor 8-)
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests