All Projects → humbertodias → neural-network-training-with-games

humbertodias / neural-network-training-with-games

Licence: other
Neural network training with games

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to neural-network-training-with-games

sdl2-image
Haskell bindings to SDL2_image.
Stars: ✭ 16 (-36%)
Mutual labels:  sdl2, sdl2-image
tnt
A 2d Game Engine written in C++20.
Stars: ✭ 30 (+20%)
Mutual labels:  sdl2, sdl2-image
pk2
Pekka Kana 2, a platformer game
Stars: ✭ 58 (+132%)
Mutual labels:  sdl2, sdl2-image
koboredux
Kobo Redux - Kobo Deluxe Revived
Stars: ✭ 25 (+0%)
Mutual labels:  sdl2, sdl2-image
ParsecSoda
Parsec Soda is a custom open-source game streaming app that integrates with Parsec API and is focused in Host experience.
Stars: ✭ 135 (+440%)
Mutual labels:  sdl2
teki
Touhou-style shoot'em up
Stars: ✭ 60 (+140%)
Mutual labels:  sdl2
sdl stb font
Renders text using STB_Truetype in pure SDL
Stars: ✭ 40 (+60%)
Mutual labels:  sdl2
shiromino
A fast-paced puzzle game with roots in the arcade.
Stars: ✭ 28 (+12%)
Mutual labels:  sdl2
mach.d
Library for the D programming language.
Stars: ✭ 27 (+8%)
Mutual labels:  sdl2
crispy-doom
Crispy Doom is a limit-removing enhanced-resolution Doom source port based on Chocolate Doom.
Stars: ✭ 608 (+2332%)
Mutual labels:  sdl2
fermium
An easy to build and use set of SDL2 bindings.
Stars: ✭ 48 (+92%)
Mutual labels:  sdl2
openmom
A cross-platform open source port of Master of Magic game from Microprose
Stars: ✭ 90 (+260%)
Mutual labels:  sdl2
ffi-sdl
PHP FFI SDL bindings
Stars: ✭ 23 (-8%)
Mutual labels:  sdl2
MinecraftC
A Raytraced Minecraft Classic 0.0.30a port to C
Stars: ✭ 250 (+900%)
Mutual labels:  sdl2
RawSalmonEngine
A game engine utilising "Tiled" map files
Stars: ✭ 15 (-40%)
Mutual labels:  sdl2
gnuboy
latest version of original laguna source, with a handful fixes for modern compilers and systems
Stars: ✭ 70 (+180%)
Mutual labels:  sdl2
libnvc
Easy way to embed (neo)vim in your application
Stars: ✭ 32 (+28%)
Mutual labels:  sdl2
chip-8
A CHIP-8 Emulator written in Haskell
Stars: ✭ 34 (+36%)
Mutual labels:  sdl2
sdl2-raycast
SDL2 C++ raycasting engine with vertical movement, floor/ceiling texture mapping and sprites.
Stars: ✭ 80 (+220%)
Mutual labels:  sdl2
virtualGizmo3D
Virtual GIZMO - 3D object manipulator / orientator, via mouse, with pan and dolly/zoom features
Stars: ✭ 36 (+44%)
Mutual labels:  sdl2

Neural Network Training with Games

Adapted for Linux/Mac

Credits JVictorDias

Deps

  • sdl2
  • sdl2-ttf
  • sdl2-image
  • libwebp
  • make
  • g++/clang++
  • docker (optional)

Linux

sudo apt install -y libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libwebp-dev libgsl-dev

or

make docker-compile-all

Mac

sudo brew install sdl2 sdl2-ttf sdl2-image gsl

How to test

Flappy-Bird

make run-flappy

or

make docker-run make run-flappy

for mac

make docker-mac-run make run-flappy

key Action
esc Pause
space info

Youtube

Deep-Cars

make run-cars

Youtube

Dinossauro

make run-dino

Youtube

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

Youtube

ParticulasGravitacionais3D

make run-particulas
key Action
a Left
d Right
w Up
s Down
q Zoom In
e Zoom Out
h Rotate Up X
y Rotate Down X
g Rotate Left Y
j Rotate Right Y
ENTER Join particles
Mouse Left Expand particles

Youtube

Spirograph

make run-spirograph
key Action
ENTER Next

Youtube

HardestGame

make run-hardestgame
key Action
F2 Load next map
ENTER Start map

Youtube

HardestGameEditor

make run-hardestgame-editor
key Action
d/f Angulo de troca
cima/baixo Tamanho grade
j/k Tempo parado
g/h Angulo parada
i Salvar posicao mouse
u Carregar posicao salva
F1 Salvar mapa
F2 Carregar mapa

Docker with X11 on MAC

Make sure to install XQuartz

brew install socat
brew cask reinstall xquartz

Don't forget to close logout and log back in.

  1. Close any 6000

On a new terminal, verify if there's anything running on port 6000

lsof -i TCP:6000

If there is anything, just kill the process

  1. Close any 6000 Open a socket on that port and keep the terminal open

    socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY"

  2. Verify 6000 is open In a new terminal, verify if it is opened

    lsof -i TCP:6000 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME socat 29298 mdesales 5u IPv4 0xe21e43ca9d99bf1d 0t0 TCP *:6000 (LISTEN)

Copy and paste this into a Terminal window of your Mac

sudo defaults write org.macosforge.xquartz.X11 enable_iglx -bool true

Source

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].