Skip to content

casvel/flagz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flagz

My first web project.

A two players minesweeper game. Version 1.1.

Clone inside github.com/flagz in your GOPATH. Run go run main.go conn.go hub.go game.go inside github.com/flagz/src.

You will need the next packages:

  • go get github.com/gorilla/mux
  • go get github.com/gorilla/websocket
  • go get github.com/go-sql-driver/mysql
  • go get github.com/apexskier/httpauth. I changed some things here:
    • Comment line 137-140 in github.com/apexskier/httpauth/auth.go.
    • You must replace the file github.com/apexskier/httpauth/sqlBackend.go with github.com/flagz/src/sqlBackend/sqlBackend.go

Must have installed mysql. Create a database named flagz and give all permissions to the user: david:david123. Or you could change the variable backenddb inside main.go

About

A two players minesweeper game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published