Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daily-demos/modern-wordfare
https://github.com/daily-demos/modern-wordfare
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/daily-demos/modern-wordfare
- Owner: daily-demos
- License: bsd-2-clause
- Created: 2022-04-05T19:31:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-13T14:32:51.000Z (11 months ago)
- Last Synced: 2024-02-11T22:47:04.778Z (9 months ago)
- Language: TypeScript
- Size: 1.21 MB
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-daily - Social gaming
README
# Code of Daily: Modern Wordfare
This demo shows one way to implement a social gaming application with video integration using [Daily's call object](https://docs.daily.co/guides/products/call-object).
This demo is still in development, with improvements and additional features still to come.
![Code of Daily: Modern Wordfare game board](./screenshot.png)
## Getting set up with Daily
To use this demo, you will need a Daily API key.
To get a Daily API key, [create a free Daily account](https://dashboard.daily.co/signup)
Once you have an account and are logged into the [Daily Dashboard](https://dashboard.daily.co/), copy your API key [here](https://dashboard.daily.co/developers). Your domain
Copy `.env.sample` in this repository's root to a file called `.env` and fill in the `DAILY_API_KEY` variable. Do not commit this file!
## How the demo works
This demo allows users to create and join Code of Daily: Modern Wordfare games with their friends. Video call participants join one of two teams as either a player or spymaster. The spymaster provides one-word clues tying one or more team words together. Players on that team then try to guess the correct words based on the spymaster's hint.
## Running locally
1. Install dependencies `npm i`
2. Run `npm run build`
3. Run `npm run start`## Contributing and feedback
Let us know how experimenting with this demo goes! Feel free to reach out to us any time at `[email protected]`.
## Audio file credits
- Game Start by plasterbrain: https://freesound.org/people/plasterbrain/sounds/243020/
- 1-tone chime by skowm001: https://freesound.org/people/skowm001/sounds/268075/
- Bell Chime Alert by plasterbrain: https://freesound.org/people/plasterbrain/sounds/419493/
- Failure 01 by rhodesmas: https://freesound.org/people/rhodesmas/sounds/342756/
- success_bell by MLaudio: https://freesound.org/people/MLaudio/sounds/511484/
- tada2 by jobro: https://freesound.org/people/jobro/sounds/60444/