Skip to content

Ef-Eff/tictacgo

Repository files navigation

TicTacGo

TicTacGo is a Tic Tac Toe/Noughts & Crosses implementation using Golang with Gorilla WebSocket for the backend, and a simple html/css/js frontend. It draws it's structure HEAVILY from the Gorilla WebSocket chat example.

I made this in an attempt to learn Golang, while creating something I would be interested building upon.

Actions

  • welcome - Give the player their number (1 || 2)
  • start - Two players have matched up, the game has started
  • mark - BE: The position and player number - FE: Position and keys that entails
  • win - A player has won. The position, player number and the key of their win condition (e.g. "d2")
  • winbydc - The match has started and a player has disconnected.
  • error - Something went wrong

About

Tic Tac Toe using Golang on as many aspects of the game as possible.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published