Tic tac toe in swift with networking
swift 5.3
nanomsg
orlibnanomsg-dev
on the OS for network
Optional:
make
for meta buildingdocker
orpodman
See make help
Set the log level to trace
Start the host:
swift run SwifTacToe -s -a ipc:///tmp/pair.ipc 2>host.log
Join the host:
swift run SwifTacToe -j -a ipc:///tmp/pair.ipc 2>host.log
Other addresses:
-a tcp://191.168.1.XX:7777
for internal TCP network port
-a ws://example.com:7777
for web socket on external domain port
- upgrade swift
- refactor for multiplayer
- finish multiplayer