https://github.com/florianwoelki/nong
A neural network playing pong.
https://github.com/florianwoelki/nong
neural-network neurons pong pong-game
Last synced: 17 days ago
JSON representation
A neural network playing pong.
- Host: GitHub
- URL: https://github.com/florianwoelki/nong
- Owner: FlorianWoelki
- Created: 2016-12-17T15:23:28.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-05T12:46:12.000Z (about 8 years ago)
- Last Synced: 2025-03-22T19:13:49.108Z (8 months ago)
- Topics: neural-network, neurons, pong, pong-game
- Language: Java
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nong
Nong is a pong game which is played by a neural network. You can see everything live.
This project has no real liscence. Do whatever you want with it.

## Controls
The controls are simple:
* space to control the paddle, space again to train the neural network
* if space activated, left & right keys to control the paddle
## Neural Network
This neural network uses three input neurons, three hidden neurons and one output neuron.
Input neurons:
* Bias
* Ball X
* Paddle X
Output neuron:
* Out move direction (value <= 5 -> left, value > 5 -> right)
## Install
Just copy the project into your IDE and run the Pong.class. This is where the main method is.