Skip to content

Fill in the blanks is a browser-based 'Cards Against Humanity' style game where anyone can host a server.

License

Notifications You must be signed in to change notification settings

rbertram90/fill_in_the_blanks_server

Repository files navigation

Fill in the Blanks logo

Fill in the Blanks game server

This application contains a PHP websocket server for a 'Cards Against Humanity' style game.

Client

The lastest version of the client is available for anyone to use at http://fillintheblanks.rbwebdesigns.co.uk/game.php however it is down to individuals to host the game server as described below.

Server requirements

Hosting a server

  • Clone repo
  • Run composer install
  • Download or create card pack(s)
  • Copy to /card_packs folder
  • Copy config_default.json to config.json and set correct server variables
    • port - port number to use
    • cards_path - absolute path to directory where the decks of cards are saved on the server
    • host_user - user name for the game host - anyone who enters the game with this name will be the host, if left blank defaults to the first person that enters the lobby.

Starting the game server

  • Open a terminal
  • Change into project root directory
  • Run command php start-server.php

About

Fill in the blanks is a browser-based 'Cards Against Humanity' style game where anyone can host a server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages