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
↓ 3 callers
Method
Vh
(a,b,c)
public/maps.js:397
↓ 3 callers
Method
Wh
()
public/maps.js:399
↓ 3 callers
Function
addDays
* Add `n` calendar days to a local-midnight timestamp, returning the new * local-midnight timestamp. * * Must use Date arithmetic (NOT a fixed `n *
mobile/src/components/account/shared.tsx:58
↓ 3 callers
Function
blockIfBannedIdentity
* Refuse account creation for an identity that was permanently banned, or deleted * while perm-banned (see BannedIdentity). Returns true if it sent a
api/googleAuth.js:19
↓ 3 callers
Method
calculateAverageTime
(playerId)
ws/classes/Game.js:1327
↓ 3 callers
Function
calculateGraphData
(stats)
components/XPGraph.js:100
↓ 3 callers
Function
calculateOutcomes
(player1Rating, player2Rating, winner)
components/utils/eloSystem.js:36
↓ 3 callers
Method
calculatePlayerXp
* Calculate XP earned by a player based on their points in each round * XP = points / 50, capped at 100 per round
ws/classes/Game.js:1347
↓ 3 callers
Function
clearGuestId
()
utils/guestId.js:20
↓ 3 callers
Function
clearGuestId
()
mobile/src/components/daily/guestId.ts:24
↓ 3 callers
Method
clearIntervals
()
mobile/src/services/websocket.ts:818
↓ 3 callers
Function
commitRounds
(value)
components/partyModal.js:28
↓ 3 callers
Function
commitTime
(value)
components/partyModal.js:39
↓ 3 callers
Function
constrainResetTarget
(map, center, zoom, bounds = VIEW_BOUNDS)
components/Map.js:130
↓ 3 callers
Function
continentFromCode
(countryCode)
components/utils/continentFromCode.js:5
↓ 3 callers
Function
currentDate
()
server.js:86
↓ 3 callers
Method
dh
()
public/maps.js:396
↓ 3 callers
Function
dismiss
(cb: () => void)
mobile/src/components/onboarding/WelcomeOverlay.tsx:51
↓ 3 callers
Function
emitHeartUpdate
(update: HeartUpdate)
mobile/src/store/heartSync.ts:12
↓ 3 callers
Function
ensureGuestId
()
mobile/src/components/daily/guestId.ts:12
↓ 3 callers
Function
ensureInterstitial
()
mobile/src/services/ads.ts:103
↓ 3 callers
Function
fetchGameById
(gameId, targetUserId = null, reportedAccountId = null)
components/modDashboard.js:342
↓ 3 callers
Function
findCountry
({ lat, lon })
components/findCountry.js:9
↓ 3 callers
Function
finish
()
components/home.js:515
↓ 3 callers
Function
finish
()
mobile/src/services/ads.ts:52
↓ 3 callers
Function
flagUrl
(code: string, size: 'w40' | 'w80' | 'w160' | 'w320' = 'w160')
mobile/src/shared/data/countryHelpers.ts:100
↓ 3 callers
Method
focus
()
public/maps.js:364
↓ 3 callers
Function
forceCrispViewReset
(map, center, zoom)
components/Map.js:255
↓ 3 callers
Function
formatStack
(err)
lib/errorTracking.js:96
↓ 3 callers
Method
generateLocations
(allLocations)
ws/classes/Game.js:608
↓ 3 callers
Function
getCountryCode
(loc)
mapgens/process-aeuw.js:23
↓ 3 callers
Function
getDailyLocations
(dateStr)
serverUtils/dailyChallenge.js:54
↓ 3 callers
Function
getDeviceTimezone
* The device's current IANA timezone (e.g. "America/New_York"). Sent to the * server on auth so brand-new accounts get their country flag auto-assign
mobile/src/services/api.ts:123
↓ 3 callers
Method
getMapCapabilities
(a= !1)
public/maps.js:424
↓ 3 callers
Method
getPanorama
(a,b)
public/maps.js:479
↓ 3 callers
Function
getPinIcons
()
lib/markerIcons.js:60
↓ 3 callers
Function
groupByCountry
(locations)
mapgens/process-aeuw.js:42
↓ 3 callers
Function
handleAction
(actionType, options = {})
components/ReportActionButtons.js:41
↓ 3 callers
Function
handleTabChange
(tab)
components/modDashboard.js:648
↓ 3 callers
Function
hasRenderSize
True only when the map container has a real (non-zero) viewport. Leaflet's * projection math is degenerate at 0×0, so any camera mutation there land
components/Map.js:169
↓ 3 callers
Function
im
(a,b)
public/maps.js:392
↓ 3 callers
Method
init
(a,b,c,d=null,e=()=>{},f=new mha(a,d),g)
public/maps.js:319
↓ 3 callers
Method
initWebsocket
* Core connection function, ported from initWebsocket.js. * Recursively retries with delay on failure. * The `gen` parameter ensures stale retry
mobile/src/services/websocket.ts:525
↓ 3 callers
Method
intersects
(a)
public/maps.js:341
↓ 3 callers
Function
invalidateDailyPublicCache
(date)
api/dailyChallenge/results.js:253
↓ 3 callers
Method
isCrazyGames
()
components/utils/localStorage.js:3
↓ 3 callers
Function
isInvited
(friendId: string)
mobile/src/components/multiplayer/InviteFriendsModal.tsx:60
↓ 3 callers
Function
isValidDailyDate
(dateStr)
serverUtils/dailyChallenge.js:91
↓ 3 callers
Function
isVersionHigher
(v1: string, v2: string)
mobile/src/utils/versionCompare.ts:5
↓ 3 callers
Method
kj
()
public/maps.js:398
↓ 3 callers
Function
launchFromOnboarding
(dest: Parameters<typeof router.push>[0])
mobile/app/onboarding/play.tsx:252
↓ 3 callers
Function
load
()
mobile/src/shared/game/findCountry.ts:12
↓ 3 callers
Function
loadBorders
()
components/utils/loadBorders.js:12
↓ 3 callers
Function
localePath
(path)
lib/basePath.js:33
↓ 3 callers
Function
logCritical
(tag, details)
server.js:107
↓ 3 callers
Function
logOnboardingAdvance
(event, details = {})
components/gameUI.js:36
↓ 3 callers
Function
lookup
(lat, lon)
components/findCountryLocal.js:46
↓ 3 callers
Function
lookupUser
()
components/modDashboard.js:280
↓ 3 callers
Function
make
(v: Animated.Value, delay: number)
mobile/app/queue.tsx:43
↓ 3 callers
Function
msToTime
(duration)
components/msToTime.js:1
↓ 3 callers
Method
notify
(a)
public/maps.js:357
↓ 3 callers
Function
onHeartUpdate
(listener: Listener)
mobile/src/store/heartSync.ts:7
↓ 3 callers
Function
pickQuipKey
(tier: QuipTier)
mobile/src/components/game/CountryEndBanner.tsx:55
↓ 3 callers
Method
pj
()
public/maps.js:398
↓ 3 callers
Function
postOut
(msg)
pages/embed/map.js:15
↓ 3 callers
Function
pruneGraceDates
(dates, today)
serverUtils/dailyStreak.js:5
↓ 3 callers
Function
rateLimit
(options = {})
utils/rateLimit.js:26
↓ 3 callers
Function
readDailyStatus
(date)
utils/dailyStatusCache.js:32
↓ 3 callers
Function
reportToGA
(description, extra = {})
lib/errorTracking.js:186
↓ 3 callers
Method
resetGame
(allLocations)
ws/classes/Game.js:180
↓ 3 callers
Function
runGameInterstitial
(context: AdGameContext)
mobile/src/services/ads.ts:220
↓ 3 callers
Method
saveRoundToHistory
()
ws/classes/Game.js:293
↓ 3 callers
Function
scrubFromDailyLeaderboards
* Remove a user from every daily leaderboard surface. * * Called from punitive actions (perm ban, temp ban, force_name_change) so the * offender st
api/mod/takeAction.js:29
↓ 3 callers
Function
sendTimeSync
()
components/home.js:1446
↓ 3 callers
Method
sendTimeSync
* Send a timeSync request to the server.
mobile/src/services/websocket.ts:393
↓ 3 callers
Method
setInGame
* Tell the service whether the user is currently in a multiplayer game / party / * queue. Drives the shortened in-game reconnect budget (see _inGam
mobile/src/services/websocket.ts:269
↓ 3 callers
Method
shutdown
()
ws/classes/Game.js:952
↓ 3 callers
Function
signOut
()
components/auth/auth.js:18
↓ 3 callers
Method
toJSON
()
public/maps.js:295
↓ 3 callers
Function
toValidLatLngBounds
(bounds)
components/Map.js:89
↓ 3 callers
Function
updatePreviouslyIgnoredReports
* Update previously ignored reports to action_taken when a punitive action is taken * This retroactively validates reports that were incorrectly dism
api/mod/takeAction.js:70
↓ 3 callers
Function
validateUsername
(name: string)
mobile/src/shared/utils/username.ts:12
↓ 3 callers
Function
writeDailyStatus
(date: string, user: DailyUserCache)
mobile/src/components/daily/dailyStatusCache.ts:55
↓ 2 callers
Method
Bj
()
public/maps.js:394
↓ 2 callers
Method
Hq
()
public/maps.js:357
↓ 2 callers
Method
ID
()
public/maps.js:442
↓ 2 callers
Method
NE
(a)
public/maps.js:379
↓ 2 callers
Method
Ng
()
public/maps.js:432
↓ 2 callers
Method
Og
(a)
public/maps.js:377
↓ 2 callers
Method
Qg
()
public/maps.js:432
↓ 2 callers
Method
Ru
()
public/maps.js:424
↓ 2 callers
Function
addBannedIdentity
({ user, type, reason = null, publicNote = null, moderator = null })
serverUtils/bannedIdentities.js:23
↓ 2 callers
Function
advanceRound
(advanceSource)
components/gameUI.js:219
↓ 2 callers
Function
afterAd
()
components/gameUI.js:176
↓ 2 callers
Function
afterBack
()
components/home.js:2607
↓ 2 callers
Function
afterGuess
(country)
components/gameUI.js:720
↓ 2 callers
Function
applyStreak
({ prevDate, currentStreak, graceDates, currentBest, today }, opts = {})
serverUtils/dailyStreak.js:54
↓ 2 callers
Function
armQueueConfirmWatchdog
()
components/home.js:1519
↓ 2 callers
Function
banGame
()
components/home.js:2917
↓ 2 callers
Function
beforeNavigate
()
mobile/src/components/game/TopRightActions.tsx:21
← previous
next →
201–300 of 1,408, ranked by callers