|
A neural network was used in this demo to show how decision making of computer agents can be learnt with sample data. First, the sampling of data has to be done. The user will control the behaviour of an enemy robot, while the supposed player robot is controlled by the computer. When the supposed player robot moves around and attacks, your intelligent response as the “enemy robot” will be sampled by the A.I. system and fed into the neural network for training. Once the sampling is done, the actual game is executed. The enemy robots will react according to the attacks of the player. The quality of their reactions is based on the quality of the training data. I did manage to get quite a good training data. Below is a video that shows the actual game in action, after training.
Notice these things about the trained robots in the video:
All the responses to different situations are handled solely by a single neural network without any if-statements. Note that the zig-zag fleeing manner is procedural and not done by the neural networks. Note: Scene setup done by Goh Cheng Teng. Neural Networks provided by Andre Tong. |
Copyright © 2003-2024 Skeel Lee. All works are original ones by Skeel, unless otherwise stated.
|