<commit_before># Genetic-Algorithm-Stardew

## Project

This is a project to create Genetic Algorithm to identify optimal arrangements of normal sprinklers in [Stardew Valley](http://stardewvalley.net/).

For additional information, check out my blog posts on this topic at my [blog](ludusamo.com/Blog). The first post is [here](http://ludusamo.com/Blog/side-project-genetic-algorithms/index.html).

## How to Use

### In Your Browser

To check out the program running, the easiest way to see it is to go to http://ludusamo.com/Genetic-Algorithm-Stardew. 

At this site, there is an [Emscripten](http://kripken.github.io/emscripten-site/) generated version of this program.

It runs slower than a compiled version, but it works pretty well as a demo.

### Compiled

Alternatively, you can compile it from source which is offered right [here](https://github.com/Ludusamo/Genetic-Algorithm-Stardew) on GitHub.

I am not going to add instructions on how to compile it. There is a Makefile inside here that can help you out. But, I will mention the dependencies:

- clang (if you use the Makefile)
- SDL2<commit_msg>Add image of current working version<commit_after># Genetic-Algorithm-Stardew

## Project

This is a project to create Genetic Algorithm to identify optimal arrangements of normal sprinklers in [Stardew Valley](http://stardewvalley.net/).

For additional information, check out my blog posts on this topic at my [blog](ludusamo.com/Blog). The first post is [here](http://ludusamo.com/Blog/side-project-genetic-algorithms/index.html).

### Picture of Current Version:
![Imgur](http://i.imgur.com/dCbQJrQ.png)

## How to Use

### In Your Browser

To check out the program running, the easiest way to see it is to go to http://ludusamo.com/Genetic-Algorithm-Stardew. 

At this site, there is an [Emscripten](http://kripken.github.io/emscripten-site/) generated version of this program.

It runs slower than a compiled version, but it works pretty well as a demo.

### Compiled

Alternatively, you can compile it from source which is offered right [here](https://github.com/Ludusamo/Genetic-Algorithm-Stardew) on GitHub.

I am not going to add instructions on how to compile it. There is a Makefile inside here that can help you out. But, I will mention the dependencies:

- clang (if you use the Makefile)
- SDL2
{'fraction_non_alphanumeric': 0.0904782421370099, 'fraction_numerical': 0.0008616975441619991, 'mean_word_length': 4.337931034482758, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1607257', 'n_tokens_mistral': 697, 'n_tokens_neox': 675, 'n_words': 291}