<commit_before># who-goes-first

A selection game to help gamers pick who goes first.

## Installation

1. Install the Chrome Web Apps [development
   tools](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/Installation.md).
1. Clone this repository.
       git clone https://github.com/bananajuicellc/who-goes-first.git
       cd who-goes-first
1. Change to src and install dependencies.
       cd src
       bower install
       npm install
       cd ..
1. Create a [new CCA
   project](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/CreateProject.md).
       cca create build com.bananajuicesoftware.WhoGoesFirst "Who Goes First"
1. Build and run with
   [CCA](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/Develop.md).
       make
       cd build
       cca run ios --emulator

## Test

Tests are written with Mocha and Chai. They run in node.

    cd src
    npm test

## Build

For Chrome, run:

    make

This copies the files needed for the Chrome app to `build/www`. You can add
this directory as an "unpacked extension" in the
[Chrome extensions settings page](chrome://extensions/).

In the terminal, change to the `build` directory to build the mobile applications.

For iOS:

    cca build ios

For Android (debug):

    cca build android --debug --webview=system --android-minSdkVersion=21

For Android (release):

   cca build android --release --webview=system --android-minSdkVersion=21 <commit_msg>Fix formatting for commands in README.<commit_after># Who Goes First

A selection game to help gamers pick who goes first.

## Installation

1. Install the Chrome Web Apps [development
   tools](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/Installation.md).
1. Clone this repository.

    ```
    git clone https://github.com/bananajuicellc/who-goes-first.git
    cd who-goes-first
    ```

1. Change to src and install dependencies.

    ```
    cd src
    bower install
    npm install
    cd ..
    ```

1. Create a [new CCA
   project](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/CreateProject.md).

    ```
    cca create build com.bananajuicesoftware.WhoGoesFirst "Who Goes First"
    ```

1. Build and run with
   [CCA](https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/Develop.md).

    ```
    make
    cd build
    cca run ios --emulator
    ```

## Test

Tests are written with Mocha and Chai. They run in node.

```
cd src
npm test
```

## Build

For Chrome, run:

```
make
```

This copies the files needed for the Chrome app to `build/www`. You can add
this directory as an "unpacked extension" in the
[Chrome extensions settings page](chrome://extensions/).

In the terminal, change to the `build` directory to build the mobile applications.

For iOS:

```
cca build ios
```

For Android (debug):

```
cca build android --debug --webview=system --android-minSdkVersion=21
```

For Android (release):

```
cca build android --release --webview=system --android-minSdkVersion=21 
```

{'fraction_non_alphanumeric': 0.10933420365535249, 'fraction_numerical': 0.00587467362924282, 'mean_word_length': 3.141891891891892, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3240563', 'n_tokens_mistral': 986, 'n_tokens_neox': 934, 'n_words': 313}