00F100 / neural-network-training-with-games

Neural network training with games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neural Network Training with Games

Adapted for linux

Credits JVictorDias

Deps

  • sdl2
  • sdl2-ttf
  • sdl2-image
  • libwebp
  • make
  • g++/clang++
sudo apt install -y libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libwebp-dev libgsl-dev

How to test

Flappy-Bird

make run-flappy

key Action
esc Pause
space info

Deep-Cars

make run-cars

Dinossauro

make run-dino

Tecelao

make run-tecelao

Parameters (input.txt)

Digite o nome da sua imagem (exemplo: teste.bmp): iron.bmp
Digite a quantidade de pregos (maximo 1000): 1000
Digite a quantidade de linhas: 1800
Digite a taxa de reducao do pixel (255 retira o pixel todo, 0 nao retira nada): 255

Left mouse click + ENTER to start

Commands

key Action
a Left
d Right
w Up
s Down
q Zoom In
e Zoom Out
z ReDraw
ENTER Start

Source

About

Neural network training with games


Languages

Language:C++ 50.5%Language:C 47.1%Language:Objective-C 1.8%Language:Makefile 0.5%Language:Shell 0.1%