Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codergautam/worldguessr
/ functions
Functions
1,408 in github.com/codergautam/worldguessr
⨍
Functions
1,408
◇
Types & classes
194
↓ 611 callers
Function
t
( key: string, vars?: Record<string, string | number | undefined | null>, fallback?: string, )
mobile/src/shared/locale.ts:111
↓ 557 callers
Method
log
(a,b="")
public/maps.js:424
↓ 261 callers
Method
get
()
public/maps.js:325
↓ 236 callers
Function
text
("roundsCount",{rounds:multiplayerState.gameData?.rounds})
components/playerList.js:74
↓ 221 callers
Method
set
(a,b)
public/maps.js:332
↓ 191 callers
Method
toString
()
public/maps.js:296
↓ 116 callers
Method
send
(json)
ws/classes/Player.js:382
↓ 108 callers
Method
round
()
public/maps.js:352
↓ 104 callers
Method
forEach
(a)
public/maps.js:332
↓ 86 callers
Method
start
(hostPlayer = null)
ws/classes/Game.js:471
↓ 70 callers
Function
set
(c,d,e)
public/maps.js:79
↓ 70 callers
Function
withTiming
(toValue: number, config: WithTimingConfig = {}, callback?: AnimationCallback)
mobile/src/components/daily/anims.ts:24
↓ 66 callers
Function
sc
(v: number)
mobile/src/components/game/GameSurface.tsx:228
↓ 57 callers
Function
useTranslation
()
components/useTranslations.js:21
↓ 52 callers
Method
setItem
(key, value)
components/utils/localStorage.js:7
↓ 47 callers
Method
addEventListener
(a, b,c)
public/maps.js:405
↓ 44 callers
Method
add
(a)
public/maps.js:331
↓ 41 callers
Method
getItem
(key)
components/utils/localStorage.js:17
↓ 37 callers
Function
b
public/maps.js:117
↓ 37 callers
Method
removeEventListener
(a,b,c)
public/maps.js:406
↓ 30 callers
Function
fetchApi
( endpoint: string, options: RequestInit = {}, baseUrl = API_URL, timeoutMs = HTTP_TIMEOUT_MS, )
mobile/src/services/api.ts:47
↓ 30 callers
Function
get
()
public/maps.js:216
↓ 29 callers
Method
end
(leftUser)
ws/classes/Game.js:766
↓ 29 callers
Method
send
* Send a JSON message to the server.
mobile/src/services/websocket.ts:288
↓ 28 callers
Method
createElement
(a)
public/maps.js:373
↓ 27 callers
Function
sendEvent
(name, params={})
components/utils/sendEvent.js:3
↓ 24 callers
Method
connect
* Connect to the WS server with optional auth secret. * Ported from initWebsocket.js + home.js:1297-1391.
mobile/src/services/websocket.ts:154
↓ 24 callers
Method
lat
()
public/maps.js:350
↓ 24 callers
Method
remove
()
public/maps.js:328
↓ 24 callers
Function
useRouter
()
embed/shims/nextRouter.js:24
↓ 24 callers
Function
useWindowDimensions
()
components/useWindowDimensions.js:17
↓ 23 callers
Method
Eg
(a,b,c,d)
public/maps.js:315
↓ 23 callers
Method
close
()
public/maps.js:361
↓ 22 callers
Method
Ig
()
public/maps.js:318
↓ 21 callers
Method
lng
()
public/maps.js:350
↓ 21 callers
Function
sc
(v: number)
mobile/app/game/[id].tsx:379
↓ 20 callers
Function
config
()
clientConfig.js:2
↓ 19 callers
Function
a
(c)
public/maps.js:129
↓ 19 callers
Method
addListener
(a,b)
public/maps.js:356
↓ 18 callers
Method
Fg
()
public/maps.js:318
↓ 18 callers
Function
currentDate
()
ws/ws.js:76
↓ 18 callers
Method
disconnect
* Disconnect intentionally (e.g. logout). No auto-reconnect.
mobile/src/services/websocket.ts:230
↓ 18 callers
Method
extend
(a)
public/maps.js:341
↓ 17 callers
Function
c
()
public/maps.js:54
↓ 16 callers
Function
msUntilLocalMidnight
(date = new Date())
shared/daily/dailyDate.js:20
↓ 15 callers
Method
isEmpty
()
public/maps.js:295
↓ 15 callers
Function
withSequence
(...animations: number[])
mobile/src/components/daily/anims.ts:49
↓ 14 callers
Function
alert
* Evaluate one alert condition. Respects the per-type cooldown and only arms * the cooldown on a successful send. Returns a short status for the li
scripts/serverMonitor.js:281
↓ 14 callers
Function
dismissAllSafe
()
mobile/src/utils/navigation.ts:42
↓ 14 callers
Function
dynamic
(loader)
embed/shims/nextDynamic.js:6
↓ 14 callers
Function
f
(z)
public/maps.js:198
↓ 14 callers
Method
getStatus
()
public/maps.js:308
↓ 14 callers
Method
sendAllPlayers
(json)
ws/classes/Game.js:749
↓ 14 callers
Function
syncedClearCache
(key)
serverUtils/cacheBus.js:22
↓ 14 callers
Function
withDelay
(delayMs: number, animation: number)
mobile/src/components/daily/anims.ts:32
↓ 13 callers
Function
sc
(v: number)
mobile/src/components/game/CountryButtons.tsx:61
↓ 12 callers
Function
getLeague
(elo)
components/utils/leagues.js:34
↓ 12 callers
Function
logEvent
(name: string, params?: Record<string, unknown>)
mobile/src/services/analytics.ts:30
↓ 12 callers
Function
registerStat
(name, fn)
serverUtils/statRegistry.js:8
↓ 12 callers
Method
sendFriendData
()
ws/classes/Player.js:414
↓ 12 callers
Function
setCorsHeaders
(response)
serverUtils/setCorsHeaders.js:2
↓ 12 callers
Function
withRepeat
( animation: number, numberOfReps = 2, reverse = false, callback?: AnimationCallback, )
mobile/src/components/daily/anims.ts:40
↓ 11 callers
Function
d
(e)
public/maps.js:173
↓ 11 callers
Function
g
(z)
public/maps.js:198
↓ 11 callers
Function
handleMultiplayerAction
(action, ...args)
components/home.js:1536
↓ 11 callers
Function
shuffle
(arr)
cron.js:458
↓ 10 callers
Method
contains
(a)
public/maps.js:331
↓ 10 callers
Function
e
(z)
public/maps.js:198
↓ 10 callers
Function
getClientLocalDate
(date = new Date())
shared/daily/dailyDate.js:5
↓ 10 callers
Function
getDelay
()
mobile/app/(tabs)/home.tsx:568
↓ 9 callers
Method
Hg
()
public/maps.js:318
↓ 9 callers
Function
findDistance
(lat1: number, lon1: number, lat2: number, lon2: number)
mobile/src/shared/game/calcPoints.ts:12
↓ 9 callers
Method
lj
(a,b,c)
public/maps.js:406
↓ 9 callers
Function
now
()
scripts/serverMonitor.js:224
↓ 9 callers
Function
truncate
(str, len = 80)
scripts/mongoMonitor.js:77
↓ 8 callers
Method
Kg
(a)
public/maps.js:374
↓ 8 callers
Function
asset
(path)
lib/basePath.js:5
↓ 8 callers
Function
calcPoints
({lat, lon, guessLat, guessLon, usedHint, maxDist})
components/calcPoints.js:20
↓ 8 callers
Method
ck
(a)
public/maps.js:437
↓ 8 callers
Function
continentFromCode
(code?: string | null)
mobile/src/shared/data/countryHelpers.ts:90
↓ 8 callers
Function
fetchWithTimeout
( url: string, options: RequestInit = {}, timeoutMs: number = HTTP_TIMEOUT_MS, )
mobile/src/services/fetchWithTimeout.ts:37
↓ 8 callers
Function
navigate
(path)
lib/basePath.js:10
↓ 8 callers
Function
needNum
(name, val)
scripts/serverMonitor.js:64
↓ 8 callers
Function
on
()
embed/shims/nextRouter.js:21
↓ 8 callers
Method
removePlayer
(player, socketClosed=false)
ws/classes/Game.js:413
↓ 8 callers
Method
sendStateUpdate
(includeLocations=false)
ws/classes/Game.js:408
↓ 8 callers
Method
update
()
public/maps.js:398
↓ 7 callers
Method
Mg
(a)
public/maps.js:377
↓ 7 callers
Method
addPlayer
(player, host=false, tag)
ws/classes/Game.js:110
↓ 7 callers
Function
continentKey
(continent)
components/utils/continentLocale.js:10
↓ 7 callers
Function
createUUID
()
components/createUUID.js:5
↓ 7 callers
Function
enabled
()
mobile/src/services/haptics.ts:11
↓ 7 callers
Function
getDayStart
(dateLike: string | number | Date)
mobile/src/components/account/shared.tsx:42
↓ 7 callers
Function
getLeague
(elo: number)
mobile/src/shared/user/leagues.ts:45
↓ 7 callers
Function
handleModePress
(mode: GameMode)
mobile/app/(tabs)/home.tsx:460
↓ 7 callers
Method
isSafeInteger
()
public/maps.js:315
↓ 7 callers
Function
mk
(iconUrl, iconSize, iconAnchor, popupAnchor)
embed/shims/markerIcons.js:21
↓ 7 callers
Method
recordGameStats
* Record user stats after a game completion * @param {string} userId - User's account ID * @param {string} gameId - Game ID that triggered this
components/utils/userStatsService.js:12
↓ 7 callers
Function
rejectInternal
(reason)
components/utils/initWebsocket.js:124
↓ 7 callers
Method
reset
(a)
public/maps.js:332
next →
1–100 of 1,408, ranked by callers