Skip to content

rdfisher/connect4

Repository files navigation

Connect 4

Running Locally

Start a server:

  • php scripts/connect4.php connect4:server

Start 2 clients:

  • php scripts/connect4.php connect4:client NameOfBrain 127.0.0.1
  • php scripts/connect4.php connect4:client NameOfBrain 127.0.0.1

See the result:

Docker

Build the project with make or make build

Run the server with make start

Now connect two clients with make client server=<docker_host_ip>

Watch the logs on connect4 server: docker logs -f connect4

About

PHP implementation of Connect 4 client/server for Code Kata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published