Code Monkey home page Code Monkey logo

shubvats / connectx-reinforcement-learning-agent Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 12 KB

Created a Python program for the ConnectX game competition on Kaggle. Implemented strategies to place checkers strategically on a board to win or prevent opponent wins. Evaluated based on performance against other submissions in ongoing matches.

Home Page: https://www.kaggle.com/competitions/connectx/overview

Python 100.00%
decision-trees function-detection game-ai python state-estimation-algorithms state-transitions

connectx-reinforcement-learning-agent's Introduction


ConnectX Simulation Competition

Welcome to the ConnectX Simulation Competition repository! This project is part of a beta-version simulation competition hosted on Kaggle, where participants compete against a set of rules using Python submissions.

Overview

This competition challenges participants to develop an AI agent capable of playing the game ConnectX. The objective is to connect a certain number of checkers in a row—horizontally, vertically, or diagonally—before the opponent does. Participants must submit a Python .py file that acts as an AI agent to play against other submissions.

Features

  • Game Objective: Achieve a specified number of checkers in a row before the opponent on a game board.
  • Submission: Participants submit a Python .py file containing their AI agent's logic.
  • Evaluation: Submissions are evaluated based on their performance against other submissions, rather than a traditional accuracy metric.
  • Rating System: Uses a Gaussian model to estimate skill levels of submissions.

Getting Started

To participate in this competition:

  1. Clone the Repository: Clone this repository to your local machine.

    git clone https://github.com/your-username/connectx-competition.git
  2. Set Up Your Environment: Ensure you have Python installed. You may also need to install the kaggle-environments package.

    pip install kaggle-environments
  3. Develop Your Agent: Modify the submission.py file to implement your AI agent. Example starter code is provided to get you started.

  4. Submit Your Agent: Once you're satisfied with your agent's performance locally, submit your submission.py to Kaggle through their competition interface.

Code Structure

  • submission.py: Main file where your AI agent's logic is implemented. Modify this file to improve your agent's performance.
  • README.md: This file provides an overview of the competition, setup instructions, and guidelines for participating.

Rules and Guidelines

  • Your agent must return an action within 2 seconds (60 seconds on the first turn) of being invoked.
  • Use only modules from the Kaggle Kernels notebook image.
  • Ensure your submission does not exceed the maximum file size limit of 100 MB.

Contributing

This competition is a beta launch, and your feedback is valuable. If you encounter issues or have suggestions for improvements, please open an issue or pull request. We appreciate your input!

Citation

ConnectX. (2020). Kaggle. Retrieved from https://www.kaggle.com/competitions/connectx/overview

connectx-reinforcement-learning-agent's People

Contributors

shubvats avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.