https://github.com/dan-q/who-said-it
Abnib game: guess who originally posted which WhatsApp message!
https://github.com/dan-q/who-said-it
game games javascript javascript-game web whatsapp whatsapp-chat
Last synced: 2 months ago
JSON representation
Abnib game: guess who originally posted which WhatsApp message!
- Host: GitHub
- URL: https://github.com/dan-q/who-said-it
- Owner: Dan-Q
- License: mit
- Created: 2022-03-01T19:06:27.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-01T19:17:20.000Z (over 4 years ago)
- Last Synced: 2025-12-27T21:49:30.238Z (6 months ago)
- Topics: game, games, javascript, javascript-game, web, whatsapp, whatsapp-chat
- Language: HTML
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Who Said It?
A quick game I threw together to entertain some friends. It presents quotes from a shared WhatsApp group and challenges players to remember/guess who originally said them.

Our private instance is not available, but you can take a copy of this project and adapt it for your own use by following the instructions below.
## Setup
1. Clone this repository.
2. Create a `data.json` file in its directory with the format described below.
3. Host the directory on a webserver and visit `index.html`.
### `data.json` format
The JSON data file is an array of objects. Each object must include a `"date"` (any format; used for display only), `"speaker"` (the person who said the quote), and `"message"` (either a string or an array of strings). It may also include an `"alwaysInclude"`, an array of names of strings of other speakers who will always appear in the list of possible guesses. E.g.:
```
[
{
"date": "01/02/2003",
"speaker": "Alice",
"message": [ "Hi, I'm Alice!", "I wrote two messages." ],
},
{
"date": "02/03/2004",
"speaker": "Bob",
"message": "You might think this message was written by Alice. But was it?",
"alwaysInclude": [ "Alice" ]
},
{
"date": "03/04/2005",
"speaker": "Chris",
"message": "This is very quotable."
},
{
"date": "04/05/2006",
"speaker": "Chris",
"message": "This is also very quotable."
},
{
"date": "05/06/2007",
"speaker": "Debbie",
"message": [ "Hey, I made a game! Come to this URL and see if you can remember who-said-what:", "https://example.com/" ]
}
]
```