Skip to content

xwjdsh/2048-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048-AI

Build Status Go Report Card DUB

AI for the 2048 game, implements by expectimax search, powered by Go.

The web front-ends of 2048 game was forked from gabrielecirulli/2048, respect and gratitude!

Screenshot

How to run?

Via Go

go get github.com/xwjdsh/2048-ai
cd $GOPATH/src/github.com/xwjdsh/2048-ai
go build
./2048-ai

Via Docker

docker run -p 8080:8080 wendellsun/2048-ai

or build images by yourself:

# clone and enter project
docker build -t 2048-ai .
docker run -p 8080:8080 2048-ai

Then, you can access http://localhost:8080/ from the browser.

Related

Licence

MIT License

About

An simple AI for the 2048 game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages