Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bstnfrmry/hanabi
/ functions
Functions
244 in github.com/bstnfrmry/hanabi
⨍
Functions
244
◇
Types & classes
97
↓ 1 callers
Function
loadUserPreferences
()
src/hooks/userPreferences.ts:16
↓ 1 callers
Function
logPageView
()
src/lib/analytics.ts:16
↓ 1 callers
Function
matchHint
(game: IGameState, hint: IHintAction, card: ICard)
src/lib/actions.ts:133
↓ 1 callers
Function
nextGameId
()
src/lib/id.ts:16
↓ 1 callers
Function
nothingInvoked
()
src/components/playerGame.tsx:121
↓ 1 callers
Function
onAddBot
()
src/components/game.tsx:276
↓ 1 callers
Function
onBackClick
()
src/pages/[gameId]/summary.tsx:120
↓ 1 callers
Function
onJoinGame
(player: Omit<IPlayer, "id">)
src/components/game.tsx:265
↓ 1 callers
Function
onNotifyPlayer
(player: IPlayer)
src/components/game.tsx:340
↓ 1 callers
Function
onRestartGame
()
src/components/game.tsx:440
↓ 1 callers
Function
onRollback
()
src/components/rollbackArea.tsx:40
↓ 1 callers
Function
onRollbackClick
()
src/components/game.tsx:331
↓ 1 callers
Function
onStartClick
()
src/pages/learn.tsx:344
↓ 1 callers
Function
onStartGame
()
src/components/game.tsx:291
↓ 1 callers
Function
onToggleStats
()
src/components/game.tsx:399
↓ 1 callers
Function
playerKnowsWhatToPlay
(pIndex: number, state: IGameView)
src/lib/ai.ts:466
↓ 1 callers
Function
recreateGame
(game: IGameState)
src/lib/actions.ts:456
↓ 1 callers
Function
sendMessage
(state: IGameState, message: IMessage)
src/lib/actions.ts:229
↓ 1 callers
Function
subscribeToPublicGames
(callback: (games: IGameState[]) => void)
src/lib/firebase.ts:51
↓ 1 callers
Function
textualHint
(game: IGameState, hint: IHintAction, cards: ICard[], t: TFunction)
src/components/playerGame.tsx:39
↓ 1 callers
Function
toggleCodedHintMarkers
()
src/components/userPreferencesDialog.tsx:24
↓ 1 callers
Function
toggleShowFireworksAtGameEnd
()
src/components/userPreferencesDialog.tsx:20
↓ 1 callers
Function
toggleSoundOnStrike
()
src/components/userPreferencesDialog.tsx:16
↓ 1 callers
Function
token
(color: string, size = 1)
src/lib/tutorial.tsx:41
↓ 1 callers
Function
turnToStateColor
(turn: ITurn)
src/components/gameStats.tsx:13
↓ 1 callers
Function
useNotifications
()
src/hooks/notifications.ts:5
↓ 1 callers
Function
usePrevious
(value: T)
src/hooks/previous.ts:7
↓ 1 callers
Function
useSoundEffects
()
src/hooks/sounds.ts:26
↓ 1 callers
Function
useSteps
(colorBlindMode: boolean, setColorBlindMode: (newColorBlindMode: boolean) => void)
src/pages/learn.tsx:52
↓ 1 callers
Function
vibrate
(length: number)
src/lib/sound.ts:7
Function
App
(props: AppProps)
src/pages/_app.tsx:39
Function
BarLegend
(props: LegendProps)
src/components/gameStats.tsx:90
Function
Button
(props: Props)
src/components/ui/button.tsx:38
Function
BuymeacoffeeButton
(props: Props)
src/components/buymeacoffeeButton.tsx:10
Function
Card
(props: Props)
src/components/card.tsx:170
Function
CardPartialHint
* Players can't view their own cards. * However, we'll show them sure values/colors from their received hints when applicable. * - Sure numbers will
src/components/card.tsx:114
Function
CardPile
(props: CardPileProps)
src/components/discardArea.tsx:16
Function
CardPosition
({ action }: { action: IDiscardAction | IPlayAction | IHintAction })
src/components/turn.tsx:173
Function
CardState
(props: CardStateProps)
src/components/gameStats.tsx:47
Function
CardWrapper
(props: CardWrapperProps)
src/components/card.tsx:64
Function
ChatPopover
(props: Props)
src/components/chatPopover.tsx:15
Function
Checkbox
(props: InputProps)
src/components/ui/forms.tsx:32
Function
CodedHintMarks
(props: { hints: ITurn<IHintAction>[]; allHintsOpen: boolean; onActivationChange: (shouldActivate: boole
src/components/receivedHintsPopover.tsx:207
Function
ColorDot
(props: { color: IColor })
src/components/receivedHintsPopover.tsx:61
Function
ColorSymbol
(props: Props)
src/components/colorSymbol.tsx:19
Function
CopiedToast
({ visible, label }: { visible: boolean; label: string })
src/pages/[gameId]/summary.tsx:63
Function
DiscardArea
()
src/components/discardArea.tsx:36
Function
DiscordButton
()
src/components/discordButton.tsx:4
Function
Divider
()
src/pages/learn.tsx:50
Function
Document
()
src/pages/_document.tsx:13
Function
Dot
(props: DotProps)
src/components/gameStats.tsx:122
Function
DotLegend
(props: LegendProps)
src/components/gameStats.tsx:106
Function
DrawnCard
({ card }: { card: ICard })
src/components/turn.tsx:184
Function
Empty
()
src/components/replayViewer.tsx:13
Function
EnterReviewComment
(props: { existingComment: string; afterTurnNumber: number; onClose: (msg: string, afterTurnNumber: numb
src/components/reviewComments.tsx:16
Function
Field
(props: FieldProps)
src/components/ui/forms.tsx:10
Function
Game
(props: Props)
src/components/game.tsx:39
Function
GameActionsStats
()
src/components/gameActionsStats.tsx:8
Function
GameBoard
(props: Props)
src/components/gameBoard.tsx:20
Function
GameStats
()
src/components/gameStats.tsx:129
Function
Hanab
({ Component, pageProps }: AppProps)
src/pages/_app.tsx:51
Function
Hint
(props: Props)
src/components/hint.tsx:15
Function
HintValue
({ action }: { action: IHintAction })
src/components/turn.tsx:167
Function
HintsPopover
( props: PropsWithChildren<{ hints: ITurn<IHintAction>[]; open: boolean; large?: boolean; cl
src/components/receivedHintsPopover.tsx:156
Function
Home
()
src/pages/index.tsx:14
Function
HomeButton
(props: Props)
src/components/homeButton.tsx:12
Function
JoinGame
(props: Props)
src/pages/join-game.tsx:24
Function
LanguageSelector
(props: Props)
src/components/languageSelector.tsx:24
Function
Learn
()
src/pages/learn.tsx:334
Function
LoadingScreen
()
src/components/loadingScreen.tsx:17
Function
Lobby
(props: Props)
src/components/lobby.tsx:56
Function
Logs
(props: Props)
src/components/logs.tsx:16
Function
MenuArea
(props: Props)
src/components/menuArea.tsx:18
Function
Message
(props: MessageProps)
src/components/logs.tsx:73
Function
Meta
()
src/components/lobby.tsx:31
Function
Meta
()
src/pages/_app.tsx:86
Function
Modal
(props: Props)
src/components/ui/modal.tsx:11
Function
NewGame
()
src/pages/new-game.tsx:47
Function
Paragraph
(props: TxtProps)
src/components/ui/typography.tsx:22
Function
Play
()
src/pages/play.tsx:10
Function
Play
(props: Props)
src/pages/[gameId]/index.tsx:34
Function
PlayedCards
(props: Props)
src/components/playedCards.tsx:13
Function
PlayerGame
(props: Props)
src/components/playerGame.tsx:88
Function
PlayerName
(props: Props)
src/components/playerName.tsx:26
Function
PlayerStats
(props: Props)
src/components/playerStats.tsx:22
Function
PlayersBoard
(props: Props)
src/components/playersBoard.tsx:24
Function
ReactionsPopover
(props: Props)
src/components/reactionsPopover.tsx:14
Function
ReadOnlyCommentMarker
()
src/components/reviewComments.tsx:13
Function
ReceivedHints
(props: { hints: ITurn<IHintAction>[]; allHintsOpen: boolean; onActivationChange: (shouldActivate: boole
src/components/receivedHintsPopover.tsx:252
Function
ReceivedHintsView
(props: { hints: ITurn<IHintAction>[]; style?: CSSProperties })
src/components/receivedHintsView.tsx:5
Function
ReplayViewer
(props: Props)
src/components/replayViewer.tsx:49
Function
ResetSession
()
src/pages/reset-session.tsx:17
Function
ReviewCommentPopover
({ showAlways = false, turnNumber, handleKeyEvent, }: { turnNumber: number; showAlways?: boolean;
src/components/reviewComments.tsx:56
Function
RollbackArea
(props: Props)
src/components/rollbackArea.tsx:32
Function
Rules
(props: Props)
src/components/rules.tsx:14
Function
Section
(props: SectionProps)
src/pages/[gameId]/summary.tsx:27
Function
Select
(props: SelectProps)
src/components/ui/forms.tsx:44
Function
ShuffleSeed
({ seed, onCopy }: { seed: string; onCopy: () => void })
src/pages/[gameId]/summary.tsx:76
Function
SsrFreeGameIndex
(props: { host: string; game: IGameState })
src/components/GameIndex.tsx:11
Function
StaticReviewComment
(props: { comment: IReviewComment })
src/components/reviewComments.tsx:52
← previous
next →
101–200 of 244, ranked by callers