Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MTG2000/uno
/ functions
Functions
147 in github.com/MTG2000/uno
⨍
Functions
147
◇
Types & classes
27
↓ 10 callers
Method
fireEvent
(name, ...args)
src/utils/EventsObject.js:22
↓ 6 callers
Function
shuffle
(array)
src/utils/helpers.js:1
↓ 6 callers
Function
useDispatch
()
src/utils/hooks.ts:9
↓ 6 callers
Function
wrapMod
(n, len)
src/utils/helpers.js:21
↓ 4 callers
Method
move
(draw: boolean | null, cardId: string)
src/Server/ServerInterface.ts:13
↓ 4 callers
Function
setInLobby
(state, action: PayloadAction<boolean>)
src/stores/features/gameSlice.ts:110
↓ 3 callers
Function
canPlayCard
( oldCard: Card, newCard: Card, lastPlayerDrew: boolean )
src/BotsServer/BotsServer.ts:220
↓ 3 callers
Method
getServers
()
src/Server/ServerInterface.ts:6
↓ 3 callers
Method
joinServer
(serverId: string, serverPassword?: string)
src/Server/ServerInterface.ts:9
↓ 3 callers
Method
playAudio
(name, reps = 1)
src/utils/audio.js:47
↓ 3 callers
Method
playOnline
(isOnline: boolean)
src/api/API.ts:25
↓ 3 callers
Function
setPlayerId
(state, action: PayloadAction<string>)
src/stores/features/gameSlice.ts:39
↓ 2 callers
Function
canPlayCard
( oldCard: Card, newCard: Card, lastPlayerDrawed?: boolean )
src/BotsServer/BotsServer3.ts:183
↓ 2 callers
Method
createServer
(serverName: string, serverPassword?: string)
src/Server/ServerInterface.ts:8
↓ 2 callers
Method
emitReady
()
src/Server/ServerInterface.ts:11
↓ 2 callers
Function
generateDrawingCards
(cnt: number)
src/stores/features/gameSlice.ts:23
↓ 2 callers
Method
getPlayer
()
src/Server/OnlineServer.ts:108
↓ 2 callers
Method
getPlayer
()
src/Server/OfflineServer.ts:99
↓ 2 callers
Method
getServerPlayers
()
src/Server/ServerInterface.ts:7
↓ 2 callers
Method
init
()
src/BotsServer/BotsServer.ts:39
↓ 2 callers
Method
leaveServer
()
src/Server/ServerInterface.ts:12
↓ 2 callers
Method
move
(draw: boolean | null, cardId: string | null)
src/BotsServer/BotsServer.ts:105
↓ 2 callers
Method
move
(draw: boolean, card: Card | null)
src/BotsServer/BotsServer3.ts:82
↓ 2 callers
Method
moveBot
()
src/BotsServer/BotsServer.ts:197
↓ 2 callers
Method
moveBot
()
src/BotsServer/BotsServer3.ts:163
↓ 2 callers
Method
onFinishGame
(cb: (playersOrdered: Player[]) => void)
src/Server/ServerInterface.ts:28
↓ 2 callers
Method
onGameInit
( cb: (data: { players: Player[]; cards: Card[] }) => void )
src/Server/ServerInterface.ts:16
↓ 2 callers
Method
onMove
( cb: (data: { nxtPlayer: number; card: Card; draw?: number; cardsToDraw?: Card[];
src/Server/ServerInterface.ts:19
↓ 2 callers
Method
onPlayersUpdated
(cb: (players: Player[]) => void)
src/Server/ServerInterface.ts:15
↓ 1 callers
Method
addBots
()
src/BotsServer/BotsServer.ts:63
↓ 1 callers
Method
finishGame
()
src/BotsServer/BotsServer.ts:210
↓ 1 callers
Method
finishGame
()
src/BotsServer/BotsServer3.ts:176
↓ 1 callers
Function
getCardById
(id: string)
src/BotsServer/BotsServer.ts:250
↓ 1 callers
Function
getFrontContent
()
src/Components/Shared/Card/Card.jsx:149
↓ 1 callers
Method
getNextPlayer
(card?: Card)
src/BotsServer/BotsServer.ts:170
↓ 1 callers
Method
getNextPlayer
(card: Card | null)
src/BotsServer/BotsServer3.ts:138
↓ 1 callers
Method
getPlayer
()
src/Server/ServerInterface.ts:30
↓ 1 callers
Method
joinPlayer
(player: Player)
src/BotsServer/BotsServer.ts:51
↓ 1 callers
Method
load
()
src/utils/loader.ts:47
↓ 1 callers
Function
moveCard
( state, action: PayloadAction<{ nextPlayer: number; card?: Card; draw?: n
src/stores/features/gameSlice.ts:114
↓ 1 callers
Function
movePlayer
(state)
src/stores/features/gameSlice.ts:205
↓ 1 callers
Function
onLoaded
()
src/App.js:34
↓ 1 callers
Method
onPlayerLeft
(cb: () => void)
src/Server/ServerInterface.ts:27
↓ 1 callers
Method
playMusic
(name)
src/utils/audio.js:34
↓ 1 callers
Method
preload
(audioTracks, onload)
src/utils/audio.js:8
↓ 1 callers
Method
preloadImage
(url: string)
src/utils/loader.ts:58
↓ 1 callers
Function
ready
(state)
src/stores/features/gameSlice.ts:93
↓ 1 callers
Method
ready
()
src/BotsServer/BotsServer.ts:101
↓ 1 callers
Method
removeAllListeners
()
src/Server/OnlineServer.ts:104
↓ 1 callers
Method
render
()
src/Components/Shared/ErrorBoundary/ErrorBoundary.jsx:43
↓ 1 callers
Method
setOnlineMode
(isOnline: boolean)
src/api/API.ts:21
↓ 1 callers
Method
start
()
src/BotsServer/BotsServer.ts:82
↓ 1 callers
Method
start
()
src/BotsServer/BotsServer3.ts:55
↓ 1 callers
Function
stopGame
(state)
src/stores/features/gameSlice.ts:106
Function
APaper
({ children, ...props })
src/Components/Shared/Paper/Paper.jsx:24
Function
Avatar
({ seed })
src/Components/Shared/Avatar/Avatar.jsx:25
Function
Button
({ children, href, ...props })
src/Components/Shared/Button/Button.jsx:39
Function
Card
({ id = "", color = "", digit, action = "", flip = false, rotationY = 180, layoutId, selectabl
src/Components/Shared/Card/Card.jsx:133
Function
CardsColumn
({ cards, highlight })
src/Components/Game/CardsColumn/CardsColumn.jsx:26
Function
CardsRow
({ cards, cardProps, highlight })
src/Components/Game/CardsRow/CardsRow.jsx:24
Function
CreateServer
()
src/Components/CreateServer/CreateServer.jsx:15
Function
CreateUser
()
src/Components/CreateUser/CreateUser.jsx:10
Function
DrawingStack
()
src/Components/Game/DrawingStack/DrawingStack.jsx:43
Function
Game
()
src/Components/Game/Game.tsx:21
Function
GamePage
()
src/Components/GamePage/GamePage.jsx:1
Function
Image
({ src, alt = " ", ratio = 9 / 16, ...props })
src/Components/Shared/Image/Image.jsx:18
Function
JoinServer
()
src/Components/JoinServer/JoinServer.jsx:36
Function
LeftStack
()
src/Components/Game/LeftStack/LeftStack.jsx:12
Function
Loading
({ onLoaded })
src/Components/Shared/Loading/Loading.jsx:37
Function
Lobby
()
src/Components/WaitingLobby/Lobby.jsx:21
Function
Loding
()
src/Components/WaitingLobby/Loding.jsx:42
Function
MainMenu
()
src/Components/MainMenu/MainMenu.jsx:14
Function
PlayerStack
()
src/Components/Game/PlayerStack/PlayerStack.jsx:13
Function
ReChoiceIcon
()
src/Components/CreateUser/ReChoiceIcon.jsx:3
Function
RightStack
()
src/Components/Game/RightStack/RightStack.jsx:12
Function
Scoreboard
({ players })
src/Components/Game/Scoreboard/Scoreboard.jsx:46
Function
StartPage
()
src/Components/StartPage/StartPage.jsx:30
Function
Table
({ children })
src/Components/Shared/Table/Table.jsx:42
Function
Table
()
src/Components/Game/Table.jsx:17
Function
TableStack
()
src/Components/Game/TableStack/TableStack.jsx:20
Function
TextField
(props)
src/Components/Shared/TextField/TextField.jsx:25
Function
TopStack
()
src/Components/Game/TopStack/TopStack.jsx:12
Function
Typography
(props)
src/Components/Shared/Typography/Typography.jsx:9
Function
UnstyledSwitches
(props)
src/Components/Shared/Switch/Switch.jsx:73
Method
cb
()
src/utils/audio.js:13
Method
changeEffectsVolume
(newVolume)
src/utils/audio.js:66
Method
changeMusicVolume
(newVolume)
src/utils/audio.js:62
Method
componentDidCatch
(error, errorInfo)
src/Components/Shared/ErrorBoundary/ErrorBoundary.jsx:34
Method
constructor
(props)
src/Components/Shared/ErrorBoundary/ErrorBoundary.jsx:29
Method
constructor
()
src/utils/loader.ts:42
Method
constructor
*
src/Server/OfflineServer.ts:14
Method
constructor
(numberOfPlayers = 4)
src/BotsServer/BotsServer.ts:34
Method
constructor
()
src/api/API.ts:12
Method
createServer
(serverName: string, serverPassword?: string)
src/Server/OnlineServer.ts:26
Method
createServer
( serverName: string, serverPassword?: string )
src/Server/OfflineServer.ts:26
Method
createServer
(serverName: string, serverPassword?: string)
src/api/API.ts:38
Method
emitReady
()
src/Server/OnlineServer.ts:56
Method
emitReady
()
src/Server/OfflineServer.ts:50
Method
emitReady
()
src/api/API.ts:45
Function
getLocalStorageImg
()
src/Components/CreateUser/CreateUser.jsx:16
next →
1–100 of 147, ranked by callers