<commit_before># MineSweeper

[![Build Status](https://travis-ci.org/duguyue100/minesweeper.svg?branch=master)](https://travis-ci.org/duguyue100/minesweeper)

A python Minesweeper with interfaces for Reinforcement Learning.

This is a simple game I wrote for learning _Deep Reinforcement Learning_.

## How to Install

In order to install this package, you need to have at least

+   `numpy`
+   `pyqt`

installed. If you don't want to bother with details of packages installation,
you can use [Anaconda](https://anaconda.org/) as your Python distribution.

And then install the package by

```bash
pip install git+ git@github.com:duguyue100/minesweeper.git \
-r https://github.com/duguyue100/minesweeper/blob/master/requirements.txt
```

## Objectives

+   A command line mine sweeper game.
+   A GUI interface.
+   Interfaces for receiving move info and send board status.
+   Capability of playing multiple games using different UDP ports.

## Todo List

+   [x] Basic structure setup
+   [x] update rules for `msboard` (click)
+   [x] update rules for `msboard` (flag)
+   [x] update rules for `msboard` (unflag)
+   [x] update rules for `msboard` (question)
+   [x] TCP interface for the game
+   [x] console interface for the game
+   [x] GUI interface for the game
+   [x] Complete reset button and end game condition
+   [ ] Control GUI interface through remote commands (another thread?)

## Screen Shot

![Game Shot](minesweeper/imgs/screen_shot.png)

## Control The Game

TBD

## Contacts

<NAME>  
Email: <EMAIL>
<commit_msg>minor fix<commit_after># MineSweeper

[![Build Status](https://travis-ci.org/duguyue100/minesweeper.svg?branch=master)](https://travis-ci.org/duguyue100/minesweeper)

A python Minesweeper with interfaces for Reinforcement Learning.

This is a simple game I wrote for learning _Deep Reinforcement Learning_.

## How to Install

In order to install this package, you need to have at least

+   `numpy`
+   `pyqt`

installed. If you don't want to bother with details of packages installation,
you can use [Anaconda](https://anaconda.org/) as your Python distribution.

And then install the package by

```bash
pip install git+git://github.com/duguyue100/minesweeper.git \
-r https://github.com/duguyue100/minesweeper/blob/master/requirements.txt
```

## Objectives

+   A command line mine sweeper game.
+   A GUI interface.
+   Interfaces for receiving move info and send board status.
+   Capability of playing multiple games using different UDP ports.

## Todo List

+   [x] Basic structure setup
+   [x] update rules for `msboard` (click)
+   [x] update rules for `msboard` (flag)
+   [x] update rules for `msboard` (unflag)
+   [x] update rules for `msboard` (question)
+   [x] TCP interface for the game
+   [x] console interface for the game
+   [x] GUI interface for the game
+   [x] Complete reset button and end game condition
+   [ ] Control GUI interface through remote commands (another thread?)

## Screen Shot

![Game Shot](minesweeper/imgs/screen_shot.png)

## Control The Game

TBD

## Contacts

<NAME>  
Email: <EMAIL>

{'fraction_non_alphanumeric': 0.10354933246499512, 'fraction_numerical': 0.007815043959622273, 'mean_word_length': 4.102990033222591, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '2692846', 'n_tokens_mistral': 1027, 'n_tokens_neox': 971, 'n_words': 356}