![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
codenames-redux
Advanced tools
A Slack chat bot that facilitates playing the excellent boardgame Codenames!
You'll need to grab a new Slack "Classic" app token for this bot - sorry, the code is ancient and uses the deprecated "RTM" API.
Create it here: Slack: Create Classic App
Once you've created your app and installed it into your workspace, use the "bot token" to run the app.
For everything to work correctly, you should also upload all the custom emoji
used by the bot for drawing the board. Here's how my slack emoji settings look:
You can find all the emoji in the images directory in the codenames-redux
Github repo.
npm install -g codenames-redux
PERSIST=/path/to/persistance/dir SLACK_TOKEN=asfajdjfds codenames-redux-slack-bot
/db
path in the container where the bot will store its board
state.docker run --rm -it --volume /path/to/persistance/dir:/db --env SLACK_TOKEN=your-bot-token-here \
jitl/codenames-redux:latest
The bot responds to commands beginning with cn
. Once you've invited the bot user
to a Slack channel, type cn help
to get help direct-messaged to you.
Or, type cn help --here
to print the help in the current channel.
cn enable-channel
to create a game lobby for the current slack channel.
Each channel has a separate game state.cn join
to enter the game and be automatically assigned to a team.cn join blue
or cn join red
.cb become-spymaster
cn new-game
Please read the official Codenames rules!
As the game progresses, public board state will be posted in the slack channel where the game was started
Each Spymaster recieves the "private" board state with the color of each word revealed in a direct message
cn give-clue <clue word> <number of guesses>
, eg cn give-clue toad 3
.cn guess <word on the board>
.cn guess
cn sudo-pass
.
Please don't abuse this.Play continues until one of the teams is victorious.
cn become-spymaster
cn shuffle
cn new-game
This codebase supports several alternative UIs for the core game logic.
run npm test
to start the game. Type commands like give clue foo 2
to give
foo 2
as a clue. Visit localhost:1337 for the guesser view. I recommend
putting this on a second computer and letting the guessers stare at it.
The main computer should be used for the spymasters. Put a watch curl localhost:1337/spymaster
in one terminal, and leave the game process with the
readline interface in another terminal. Have the guessers relay their guesses to
the spymasters, who do all the computer input.
Here's how it looks:
Playing in "single-game mode" in the terminal:
The start of the web ui:
PLEASE PLEASE PLEASE open a Github issue with suggestions for improvements or bug reports!
FAQs
codenames boardgame chatbot dingus
The npm package codenames-redux receives a total of 4 weekly downloads. As such, codenames-redux popularity was classified as not popular.
We found that codenames-redux demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.