Git Product home page Git Product logo

reinforced-greediness's Introduction

reinforced-greediness

"Dermatoplastic shepard scratches its reinforced greediness by formulating without shock." โ€” random text on the web

This is a bot for Legends of Code and Magic submitted to the IEEE CEC 2020's Strategy Card Game AI Competition. Made by Ronaldo Vieira, Luiz Chaimowicz and Anderson Tavares from Universidade Federal de Minas Gerais and Universidade Federal do Rio Grande do Sul.

Dependencies

Our bot requires Python 3.6+ and the numpy, scipy and sortedcontainers libraries. They can by installed by:

pip install numpy scipy sortedcontainers

Usage

python agent.py

Draft strategy

We use neural networks to choose cards. They are trained by reinforcement learning in a self-play setting, and a separate network is used when playing as first player and second player. This is part of Ronaldo's master's thesis.

Playing strategy

We find the best combination of actions with a best-first search on the current turn, using a simplified version of the forward model available in the gym-locm project. Our state evaluation function is formed by a linear combination of hand-made features, with coefficients found via Bayesian optimization.

reinforced-greediness's People

Contributors

ronaldosvieira avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.