Browser- & webworker-based Codenames clone.

@Vinzenz Rosenkranz Vinzenz Rosenkranz authored on 9 May 2020
api dockerize codenames 5 years ago
php_socket_docker fix typo and build 5 years ago
src add .env config support (js only) 5 years ago
.env.example add .env config support (js only) 5 years ago
.gitignore add .env config support (js only) 5 years ago
README.md initial code commit 5 years ago
docker-compose.yml fix typo and build 5 years ago
icon.png initial code commit 5 years ago
index.html move to webpack/npm build system 5 years ago
package-lock.json add .env config support (js only) 5 years ago
package.json add .env config support (js only) 5 years ago
webpack.config.js add .env config support (js only) 5 years ago
README.md

codenames

Browser- & websocket-based Codenames clone.

Installation

  1. Clone this repository into your webserver's root (e.g. /var/www/html)
  2. Open a terminal and start the websocket server (php -q api/event.php)
  3. Open your browser and visit localhost/codenames
  4. Play!

Restrictions

  • The host, port and URLs are hardcoded on both, JS- and PHP-side
    • Thus you can not rename your local copy of the repo or run it on another server or port (without changing anything; you can change these values of course 😉)

Purpose

Just for fun and to learn about websockets