Skip to content

Longwater1234/server-tic-tac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

server-tic-tac

Server built specifically for this game go-tic-tac. You will only need Golang 1.19 or higher installed. Download and install GO from official link, or use your OS package manager. You can also use the Dockerfile provided, which builds a tiny image (~5MB only).

How to build

  • Simply open up your terminal (or CMD) at this project root directory and run the following command.

    go build --ldflags="-s -w"
  • Set ENV variable for PORT which the server will listen to.

  • By default, it will run on port 9876.

  • Done. Now you can simply execute the binary ./server-tic-tac.

  • To stop the server anytime, just press CTRL + C, or quit the terminal window

License

© 2023, Davis Tibbz, MIT License

Contributions & Pull request

Pull requests and issues are welcome.

About

Backend server for go-tic-tac-toe. Built using Go 1.19

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published