Welcome to Discord Doom, a groundbreaking integration that brings the iconic DOOM game into Discord through a unique fusion of the Phaser discord activity template and JS-DOS. This project is designed for both nostalgic retro gamers and modern Discord users looking to add an exciting twist to their server activities.
This initiative was inspired by and built upon knowledge from the following tutorials:
- Play DOOM directly within Discord.
- Engage in nostalgic gameplay with your Discord friends.
- Easy setup for both local and Discord server environments.
To enjoy Discord Doom in a local testing environment:
-
Inside
client/main.js
, comment out the section initializing the Discord SDK. -
Open your terminal and navigate to the client directory:
cd client
-
Run the following commands:
npm install
npm run dev
-
Visit the local server URL provided in the terminal to start playing.
To launch Discord Doom within a Discord server:
- Ensure the section for initializing the Discord SDK is not commented out in
client/main.js
. - Create a Discord app in the Developer Portal, rename
example.env
to.env
, and replace yourCLIENT_ID
andSECRET
with those provided by Discord. - Follow the Phaser tutorial to install
cloudflared
. Then, executenpm run dev
inside both theserver
andclient
directories. Use a third terminal to run the tunnel command provided bycloudflared
. - Add the URL from
cloudflared
to the Activity URL Mappings in the Discord Developer Portal. - Join a voice channel in a Discord server with fewer than 25 members and start the Doom activity.
We welcome contributions and suggestions! Feel free to fork the repository, create your feature branch, and submit a pull request. Or open an issue if you have ideas for improvements or have encountered bugs.
Thank you for being a part of this project. Let's make our Discord experiences more exciting with a touch of retro gaming nostalgia!