Artificial neural nets competing for survival
Remember that this article is far from complete and should be considered a work in progress.
This is my feeble attempt at implementing some basic neural nets in ECMAScript. It is mostly for my own curiosity, to see it I could pull it off.
A long way
I've never had much experience with artificial neural nets before, not even that much with artificial intelligence. I made a LEGO robot, coded in NQC when I was 17 that "ate" light and could expire if it did not find any food in time. Then I went to college and we started by programming LEGO robots using some kind of drag'n drop interface to just follow a black line. They wouldn't allow me to use NQC because that'd be an unfair advantage in the competition that would be held. Yay for our educational system and the logic that if you're more educated, you shouldn't be allowed to use it to your advantage, even if it's the main purpose of having said competition...
Okay, enough ranting.
A neural net simulating XOR
The two input fields here are connected to two sensory neurons in a net that simulates the XOR function. If the net responds, the output is 1. No answer can be interpreted as 0.