Browser- & webworker-based Codenames clone.

@Vinzenz Rosenkranz Vinzenz Rosenkranz authored on 26 Apr 2020
api fix bootstrap layout; add markdown support; add chatting to leaders only 5 years ago
src fix bootstrap layout; add markdown support; add chatting to leaders only 5 years ago
.gitignore move to webpack/npm build system 5 years ago
README.md initial code commit 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 fix bootstrap layout; add markdown support; add chatting to leaders only 5 years ago
package.json fix bootstrap layout; add markdown support; add chatting to leaders only 5 years ago
webpack.config.js move to webpack/npm build system 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