Skip to content

dearlordylord/sstackrr-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the app

Graphql backend for sstackrr game.

DATABASE_URL env var should be set: DATABASE_URL=postgres://sstackrr:sstackrr@localhost/sstackrr

Before use, run migrations: diesel migration run

To run, do cargo run

GraphQL playground, at the moment of writing this: http://sstackrr-backend.apps.loskutoff.com

Frontend: http://sstackrr-frontend.apps.loskutoff.com

Implementation Notes

Bot algo is minimax with alpha-beta pruning, minimal "best turns first" optimization, "computations already done" optimization, multithread (which speeds it up not much more than twice though)

About

Backend for Sstackrr Game!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages