xviniette / FlappyLearning

Program learning to play Flappy Bird by machine learning (Neuroevolution)
http://xviniette.github.io/FlappyLearning/
MIT License
3.97k stars 498 forks source link

Neuroevolution.js Documentation and Commenting #22

Closed francium closed 7 years ago

francium commented 7 years ago

This pull request adds documentation and comments to the Neuroevolution.js source file. The purpose is is add documentation that other developers can follow along with and read to better understand the structure, implementation and purpose of the code they're reading and perhaps trying to use.

The changes were made in a single commit, but basic break down of the changes is as follows,

Formatting of some code for aesthetic reasons (length, spacing, etc.). Documentation for functions and methods (Javadoc style). Line comments throughout source explaining various small blocks or single lines of code.

The code semantics are unchanged. Only minor styling edit have been made and comments have been added.

unnir commented 7 years ago

thank you!

ylin commented 7 years ago

Mucho, mucho, gracias.

xviniette commented 7 years ago

Thank you ! Great job !