Skip to content

midrange/rogue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages