Sign inSign up

alxl/depicture

By alxl

Updated about 4 years ago

An open-source telephone game with pictures. Built with NodeJS and Socket.IO

Image
0

512

alxl/depicture repository overview

depicture

A game about drawing what you read, then saying what you see.

Each player is given a distinct prompt, which they attempt to depict in a drawing. Then, the drawings are passed between players, who now have to guess what the prompt was that inspired the drawing of another player. The guesses are then passed along, and now everyone has to draw based on that prompt. This continues until every player has contributed to every story, at which point the stories are all revealed, and everyone can see just how badly the whole thing ended up.

Where can I play?

Online

You can access the game here; play with your friends!

Compile from source

You can compile and run your own server from the source code; all you strictly need is NodeJS. You can get the source code from GitHub.

Once you have the code, execute the following commands within the project root to start the server.

# Get dependencies (only needed the first time)
npm install

# Run server
npm start

By default, depicture uses port 6465. Use your browser to connect to port 6465 of the server (e.g. localhost:6465), and you're all set!

In a Docker container

There is a Docker image available for depicture at alxl/depicture on Docker Hub.

Running a Docker container of depicture open on port 80:

docker run -p 80:6465 alxl/depicture:stable

Custom prompts

depicture gets its prompts from an API that is specified by the host of a room. The default one can be found here. You can set up your own using the companion project, PHP Line Spitter. Supply your prompt lists as .txt files in the lists/ folder of the PHP Line Spitter. Then, just provide your API root as the Prompt Source when hosting a room.

Tag summary

Content type

Image

Digest

sha256:be0e1c0f7

Size

51.6 MB

Last updated

about 4 years ago

docker pull alxl/depicture