GitXplorerGitXplorer
j

connect-x

public
1 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
dee951ca0786289fa8c4be053931233d3ffbda03

Changed submission.py back to its original form, moved iterative

hhaakonrob committed 5 years ago
Unverified
cfb2d2cbe0c1ec7819987c588060e3beefc9ac6c

Linting

hhaakonrob committed 5 years ago
Unverified
01bfd7e3298bf3151663d38429a9b849198a8744

Cleaned up submission.py a little bit. The iterative deepening code could use some refactoring, but we need to find a nice way to return intermediate values.

hhaakonrob committed 5 years ago
Unverified
f57e2d11a6c4ace524899ea618d859c13a5b4a64

Solved the issue of the code not blocking by adding asyncio.sleep(0) to

hhaakonrob committed 5 years ago
Unverified
adb7deba6d46f33d98cf619771f6faed981e0a39

First attempt at creating an async negamax function, such that

hhaakonrob committed 5 years ago
Unverified
8fd4de08cd75802ef6f797da9b4c92c42bab574f

Modified the _planned_action function in submission.py to call an async

hhaakonrob committed 5 years ago

README

The README file for this repository.

connect-x

My contribution to the Connect X competition on Kaggle.

Getting Started

Requirements

  • You have stored the Kaggle API credentials file according the official instructions.
  • You have Poetry installed in your global Python environment.

Installation

  1. Clone the repository from GitHub.

    git clone git@github.com:janjagusch/connect-x.git
    
  2. Install the dependencies.

    poetry install
    

Usage

  1. Build your own Connect X agent.

  2. Make sure your submission.py is valid.

    poetry run python bin/validate_submission
    
  3. Submit.

    poetry run bin/submit
    

Note: You can also submit solutions through the CI when releasing a new tag. In order to do so, you need to have the KAGGLE_API_TOKEN variable set.

  1. Create a new token for the Kaggle API and store it as kaggle.json.

  2. In the directory where kaggle.json is stored, run:

    cat kaggle.json | base64
    
  3. Set the output as KAGGLE_API_TOKEN.

Development

We welcome contributions to this project! Please refer to the DEVELOPMENT.md for more details.

Help and Support

Authors