Skip to content

hnfgns/avalanche-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avalanche React

An attempt to visualize Avalanche

Only Slush is implemented. Randomness is introduced through arbitrary delays in SlushLoop.

We initialize the app with the following:

  1. pick any two random nodes with initial values of red and blue i.e. start in equilibrium
  2. run avalanche instance, let randomness decide the outcome

You should restart to observe red/blue winning

Run

Make sure to install dependencies via npm start

Use npm start to run the app in the development mode.
Open http://localhost:3000 to view it in the browser.