Skip to content
/ four-ai Public

Neural networks trained with genetic algorithm that play connect four

License

Notifications You must be signed in to change notification settings

MonliH/four-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect Four AI

Game Image

four-ai is a multithreaded neural network training system that utilizes genetic algorithm. Everything related to neural networks was implemented from scratch, including matrix multiplication, neural network forward pass, and crossover + mutation.

This is a proof of concept for how a genetic algorithm library could be implemented with rust in the future.



Usage

cargo run --release

Note: the --release flag is IMPORTANT! Without the optimizations provided by it, training will be much slower.

About

Neural networks trained with genetic algorithm that play connect four

Topics

Resources

License

Stars

Watchers

Forks

Languages