https://github.com/fronkongames/machine-learning-game-ideas
Game ideas generation using neural networks
https://github.com/fronkongames/machine-learning-game-ideas
game-development gamedev gamedevelopment keras lstm machine-learning mit-license python rnn tensorflow tensorflow2
Last synced: about 2 months ago
JSON representation
Game ideas generation using neural networks
- Host: GitHub
- URL: https://github.com/fronkongames/machine-learning-game-ideas
- Owner: FronkonGames
- License: mit
- Created: 2022-04-13T17:12:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-17T18:38:24.000Z (about 4 years ago)
- Last Synced: 2025-06-14T23:43:32.346Z (about 1 year ago)
- Topics: game-development, gamedev, gamedevelopment, keras, lstm, machine-learning, mit-license, python, rnn, tensorflow, tensorflow2
- Language: Python
- Homepage:
- Size: 52.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README

Game Ideas Generation Using Neural Networks
# 🔧 Requisites
- Pyhton 3.8
- Numpy 1.2
- TensorFlow 2.8
- Keras 2.8
# 🚀 Usage
Before you can generate ideas for games you must train the neural network:
```
python MLGamedevIdeas.py -train
```
This will train the neural network with all the descriptions in the file '_final_data_new.json.gz_' (about 80000) and 20 epochs.
Depending on your hardware this may take quite a while.
To make the training process less time consuming you can use fewer game descriptions:
```
python MLGamedevIdeas.py -games 5000 -train
```
You can also use less epochs:
```
python MLGamedevIdeas.py -games 5000 -epochs 10 -train
```
For good results I recommend values of '_loss_' below 2. Consult the parameters to better adjust the training:
```
python MLGamedevIdeas.py -h
```
Once the neural network has been trained, a file '_weights.hf5_' will have been generated.
> Note that you will have to retrain the neural network if you change the parameters.
Now you can start generating crazy ideas:
```
python MLGamedevIdeas.py
```
## 📜 License
Code released under [MIT License](https://github.com/FronkonGames/Machine-Learning-Game-Ideas/blob/main/LICENSE.md).