Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlexInLog/ReactivePlusPlus
/ generate_initial_apple
Function
generate_initial_apple
src/examples/rpp/sfml/snake/snake.cpp:18–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
}
17
18
static coordinates generate_initial_apple()
19
{
20
return coordinates{3, 5};
21
}
22
23
static int wrap_coordinate(int value, int max_value)
24
{
Callers
1
get_shapes_to_draw
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected