Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ check_status
Function
check_status
CPP/Problems/maze_game.c:94–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
92
}
93
94
int check_status(int ply[2], int snk[2])
95
{
96
if (ply[0] == snk[0] && ply[1] == snk[1])
97
return 1;
98
return 0;
99
}
100
101
void move_snake(int snk[2], int ply[2], char maze[l][w])
102
{
Callers
1
play
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected