alexanderturner / websocket-tic-tac-toe

tic-tac-toe using HTML5 websockets, golang backend, vuejs frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

websocket tic-tac-toe

Go Report Card

multiplayer tic-tac-toe using golang with gorilla websockets as backend and vuejs as frontend

game sample

get and run

  • go get https://github.com/riscie/websocket-tic-tac-toe
  • go build
  • run the produced binary
  • connect to http://localhost:8080

gin (allows live-rebuilding on backend changes)

Todos:

  • some methods need refactoring
  • could implement cookies to identify clients
  • writing tests

About

tic-tac-toe using HTML5 websockets, golang backend, vuejs frontend

License:MIT License


Languages

Language:Go 63.0%Language:HTML 17.9%Language:CSS 13.6%Language:JavaScript 5.5%