Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Gusabary/UNO
/ functions
Functions
256 in github.com/Gusabary/UNO
⨍
Functions
256
◇
Types & classes
67
↓ 44 callers
Method
CanBePlayedAfter
src/game/cards.cpp:29
↓ 13 callers
Method
UpdateAfterPlay
src/game/stat.cpp:44
↓ 11 callers
Method
GetCurrentPlayer
src/game/stat.h:32
↓ 11 callers
Method
Length
src/game/cards.cpp:225
↓ 10 callers
Method
GetPile
for test
src/game/cards.h:227
↓ 9 callers
Method
GetIndex
src/game/cards.cpp:42
↓ 9 callers
Method
UpdateAfterDraw
src/game/stat.cpp:22
↓ 9 callers
Method
press_keyboard
(self, action=' ')
bot/bot.py:30
↓ 8 callers
Method
GetUsername
src/game/stat.h:79
↓ 8 callers
Method
LengthBeforeIndex
src/game/cards.cpp:261
↓ 8 callers
Method
Number
* Get the number of cards in the handcard. */
src/game/cards.h:134
↓ 7 callers
Method
GetLastPlayedCard
src/game/stat.h:40
↓ 7 callers
Method
UpdateAfterSkip
src/game/stat.cpp:35
↓ 6 callers
Method
Draw
src/game/cards.cpp:22
↓ 5 callers
Method
GetRemainingHandCardsNum
src/game/stat.h:81
↓ 5 callers
Method
HasChanceToPlayAfterDraw
src/game/stat.h:87
↓ 5 callers
Method
SetLastPlayedCard
src/game/stat.h:53
↓ 5 callers
Method
ToString
src/game/cards.cpp:188
↓ 4 callers
Method
Clear
src/ui/view.cpp:21
↓ 4 callers
Method
IsMyTurn
src/game/stat.h:28
↓ 4 callers
Method
single_loop
(self)
bot/bot.py:43
↓ 3 callers
Method
At
* Get the char in view positioned at \param row in row and \param col in column. */
src/ui/view.h:64
↓ 3 callers
Method
DeliverInfo
src/network/client.cpp:69
↓ 3 callers
Method
DoesGameEnd
src/game/stat.h:36
↓ 3 callers
Method
Erase
src/game/cards.cpp:37
↓ 3 callers
Method
GetCardsNumToDraw
src/game/stat.h:42
↓ 3 callers
Method
ReceiveUsername
src/game/game_board.cpp:36
↓ 3 callers
Method
Serialize
src/game/info.cpp:7
↓ 3 callers
Method
SetCurrentPlayer
for tests
src/game/stat.h:49
↓ 3 callers
Function
remove_escape
(s)
bot/util.py:10
↓ 2 callers
Method
Add
* Add a card to discard pile. */
src/game/cards.h:238
↓ 2 callers
Method
At
* Get the card positioned at \param index in the handcard. */
src/game/cards.h:127
↓ 2 callers
Method
DealInitHandCards
src/game/cards.cpp:123
↓ 2 callers
Method
GameEnds
src/game/player.cpp:139
↓ 2 callers
Method
GetIndexOfNewlyDrawn
src/game/cards.cpp:55
↓ 2 callers
Method
Init
src/game/cards.cpp:100
↓ 2 callers
Method
NextTurn
src/ui/ui_manager.cpp:71
↓ 2 callers
Method
PutToBottom
* Put a card to the bottom of deck. */
src/game/cards.h:273
↓ 2 callers
Method
ReceiveInfo
src/network/client.cpp:41
↓ 2 callers
Method
Render
src/ui/ui_manager.cpp:52
↓ 2 callers
Method
RenderWhenInitWaiting
src/ui/ui_manager.cpp:45
↓ 2 callers
Method
Reset
src/network/client.cpp:35
↓ 2 callers
Method
SetCardsNumToDraw
src/game/stat.h:55
↓ 2 callers
Method
Start
src/game/player.cpp:11
↓ 2 callers
Method
ToStringBySegment
src/game/cards.cpp:238
↓ 2 callers
Function
get_ui_line_nums
(player_num, handcards_num)
bot/util.py:4
↓ 2 callers
Function
wrap_with
(num_to_wrap, wrap_range)
test/bot_test.py:43
↓ 1 callers
Method
Clear
src/game/cards.h:221
↓ 1 callers
Method
Connect
src/network/client.cpp:14
↓ 1 callers
Method
DoPlayInLastRound
src/game/stat.h:83
↓ 1 callers
Method
DrawLastPlayedCard
src/ui/view.cpp:125
↓ 1 callers
Method
DrawOtherBox
src/ui/view.cpp:69
↓ 1 callers
Method
DrawSelfBox
src/ui/view.cpp:95
↓ 1 callers
Method
DrawSelfTimeIndicatorIfNot
src/ui/view.cpp:117
↓ 1 callers
Method
DrawTimeIndicator
src/ui/view.cpp:137
↓ 1 callers
Method
DrawWhenInitWaiting
src/ui/view.cpp:42
↓ 1 callers
Method
GetAction
src/ui/inputter.cpp:5
↓ 1 callers
Method
GetExtraRowNum
* The handcard may occupy more than one row, in which condition, there is an extra row number. */
src/ui/view.h:59
↓ 1 callers
Method
GetTimeElapsed
src/game/stat.h:38
↓ 1 callers
Method
IsInClockwise
src/game/stat.h:34
↓ 1 callers
Method
IsSkipped
src/game/stat.h:30
↓ 1 callers
Method
LengthBeforeIndexInSegment
src/game/cards.cpp:271
↓ 1 callers
Method
MoveCursorTo
* Move the cursor in handcard to the position indicated by \param index. */
src/ui/ui_manager.h:69
↓ 1 callers
Method
Parse
src/common/config.cpp:82
↓ 1 callers
Method
PrintHintText
src/ui/outputter.cpp:70
↓ 1 callers
Method
PrintRawView
src/ui/outputter.cpp:27
↓ 1 callers
Method
PrintView
src/ui/outputter.cpp:39
↓ 1 callers
Method
RegisterAllPlayersJoinedCallback
src/network/server.h:46
↓ 1 callers
Method
RegisterConnectCallback
src/network/client.h:34
↓ 1 callers
Method
RegisterReceiveJoinGameInfoCallback
src/network/server.h:41
↓ 1 callers
Method
Run
src/network/server.cpp:13
↓ 1 callers
Method
RunTimerThread
src/ui/ui_manager.cpp:17
↓ 1 callers
Method
SetModeAutoFlush
src/common/terminal.cpp:21
↓ 1 callers
Method
SpecifyNextColor
src/ui/inputter.cpp:31
↓ 1 callers
Method
StopTimerThread
src/ui/ui_manager.cpp:23
↓ 1 callers
Method
Tick
src/game/stat.cpp:71
↓ 1 callers
Method
WantToPlayAgain
src/ui/ui_manager.cpp:162
↓ 1 callers
Method
game_loop
(self)
bot/bot.py:78
↓ 1 callers
Function
is_special_card
(card)
bot/util.py:17
↓ 1 callers
Method
specify_next_color
(self)
bot/bot.py:111
↓ 1 callers
Function
test_end
()
test/bot_test.py:61
↓ 1 callers
Method
try_play_card
(self)
bot/bot.py:83
↓ 1 callers
Method
try_play_card_immediately
(self)
bot/bot.py:104
↓ 1 callers
Function
update_cur_player
(last_played_card, cur_player, is_in_clockwise)
test/bot_test.py:47
↓ 1 callers
Function
update_handcards
(handcards, line)
bot/util.py:42
Method
Accept
src/network/server.cpp:29
Method
ActionInfo
src/game/info.h:73
Method
AlignCenter
src/ui/view.cpp:210
Method
ApplyNewAttr
src/common/terminal.cpp:36
Method
Broadcast
src/game/game_board.h:70
Method
Card
src/game/cards.h:52
Method
Card
src/game/cards.cpp:156
Method
CardFixture
test/game/card_test.cpp:13
Method
Clear
* Clear the discard pile. */
src/game/cards.h:243
Method
ClearScreen
src/ui/outputter.cpp:139
Method
ClearStdInBuffer
src/common/terminal.cpp:52
Method
Client
src/network/client.cpp:10
Method
Close
src/network/server.cpp:47
Method
Config
src/common/config.cpp:56
Method
Copy
* copy the string \p src to the position in view located by \p row and \p col. * note that we use `strncpy` here instead of `strcpy`, that is because
src/ui/view.cpp:222
next →
1–100 of 256, ranked by callers