Skip to content

denistr16/GoL-RL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

John Conway's Game of Life & Reinforcement Learning

About

The project is a mix of Reinforcement Learning concept and famous John Conway's Game of Life, a cellular automaton that generates thrilling structures that very looks like real living cells and complex molecules. We assume that such an environment could be an interesting source of new features as well as an inspiration itself. So.. The major goals are the experiments on SOTA in RL with the following transfer to real-world applications.

Modules

Env

There are we have two envs:

  • An implementation GoL with classical rules: env
  • An env implementation for two players: env
Loss

There is a first loss we designed. It defines as: L1 distance between the amount of living cells and all the field cells: loss

Model

There are three models:

Patterns

There are a few hardcoded patterns that you can play with - gliders

Install

For the moment - just clone the repo and run the latest notebooks

Usage

Latest examples of usage:

Experiment analysis

TBA

How to commit

We are small at the moment and don't have any special requirements. We will be appreciated if you get one of the issues and help us. Just remember: new issue = new branch -> pull request.