midrange / rogue

An AI to play Magic: The Gathering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The goal of the Rogue project is to build an AI to play Magic: The Gathering at a better-than-human level.

Running the Program

If you are a developer, clone this repo into your $GOPATH in the github.com/midrange/rogue directory.

From the rogue directory:

go install ./... && play

You should see it print out something like:

 ~~~~~~ Welcome to Rogue ~~~~~~

1) Human vs AI
2) AI vs AI

Enter a number:

If you are doing development, you should also run:

go get golang.org/x/tools/cmd/stringer

and run go generate ./... when you change any enums.

Notes

Originally started in Python, but switched to Go for speed: https://github.com/andrewljohnson/CardAI while making it run faster.

About

An AI to play Magic: The Gathering

License:MIT License


Languages

Language:Go 100.0%