GithubHelp home page GithubHelp logo

keyology / opensourcerer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arrdem/opensourcerer

1.0 0.0 0.0 2.8 MB

An open source Magic : The Gathering implementation and AI

License: Other

Shell 0.36% Python 99.64%

opensourcerer's Introduction

OpenSourcerer

OpenSourcerer is my name for the repository of database manipulation, web crawling and other scripts which I put together during the course of my Magic AI research project. Eventually OpenSourcerer will encompas everything from magic deck generation (the current point of work) to card effect processing and actually playing games.

Current State

OpenSourcerer has three main parts at present: the game engine, the database/crawlers and the deck generator. Of these the crawlers and deck generator are being actively worked on at present. Hopefully the game engine will also get some attention in the near future but it is very low priority.

ToDo List

* Improve the performance of the deck database downloading tools
* Clean downloaded card data to ensure uniqueness of card names
* Train a neural network to do land choice for generated decks
* Write, test cosine similarity calculator for card records
* Write, test a way to export Python functions to a database or other record

ToDone List

* Wrote a neural network capable of filling decks with land
* Gather more comprehensive statistics on card usage (crawl EM again)
* Scraped the Gatherer (Wizards official cards database), saved card details
* Scraped Essential Magic, got some preliminary deck statistics
* Assembled the abstraction layers required for the game engine

File Overview

The directly runnable portions of the project are all stored in the root directory. There are two client/server pairs here, as well as the prototype deck generator.

* The client/server pair named "gatherer" is designed to scrape gatherer.wizards.com
* The client/server pair named essentialmagic scrape essentialmagic.com's deck listings
* The deck generator well... does a bad job of generating decks.
* network_tester.py is a tool for testing the clients and servers by hand
* The "main.py" file will eventially execute the game engine

Disclaimer

This program was hacked together by a college freshman in his spare time. If you use this code for anything important, you are nuts to put it kindly. That said, all code in this project is copyright 2011 Reid McKenzie <rmckenzie92 AT gmail.com>. This code and all other code in the project may be used or re-used for any purpose at all, so long as I am made aware of my contribution.

opensourcerer's People

Contributors

arrdem avatar sontek avatar

Stargazers

Keoni Murray 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.