an-empty-string / codenames Goto Github PK
View Code? Open in Web Editor NEWIRC bot for playing Codenames
IRC bot for playing Codenames
Per-game stats backend
Exposed on IRC
The bot turns all clues into lowercase (e.g. Jaws
becomes jaws
). Instead case should be preserved.
In two player mode, only the green team is active. After the green guessing phase, the game randomly removes two pink words from the board and jumps back to the green hinting phase.
Problem:
Currently, there is no way to know the exact player count without pinging everyone, without manually keeping track of players by hand.
Suggestions: (Either one should be enough)
!status
/ !players
in PM to the bot.If someone joins a 3 player game after it starts, the existing guesser should defect to one of pink/green, and the new player should become a guesser for the other team. If someone joins a 4+ player game after it starts, they should join one of pink/green such that one team has at most 1 more guesser.
Currently, if everyone who currently has to hint/guess is AFK or is otherwise uncooperative, they can stall the game forever.
This is exacerbated by #12 and #13, as the other players cannot leave the game or otherwise bring it to an end.
Proposal:
Similar lykos
, this bot could keep track of last activity per-player, and issue a warning at, say, 5 minutes, followed by a force leave at 6 (or maybe the bot could just allow others to !fleave the inactive player, in case we want to keep the game more casual).
In each game, one civilian will be specially marked. If this civilian is guessed, whoever guessed it will be allowed to pet a dog.
like whether to be PM'd or NOTICE'd
like lykos
During the join phase, check every minute for idle players:
Players' idle timers should be reset whenever they talk in channel.
Architecture TBD.
It should be possible for spymasters to PM !words
(or just words
) to the bot to get the current set of remaining words for each team.
Similar to lykos, a player leaving the channel or disconnects should cause a timer to start, and on expiry, they should be removed from the game. (The timer is to allow for e.g. accidental /part
or transient network issues.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.