MCPcopy Create free account
hub / github.com/MaskRay/LeetCode / SnakeGame

Method SnakeGame

design-snake-game.cc:13–20  ·  view source on GitHub ↗

Initialize your data structure here. @param width - screen width @param height - screen height @param food - A list of food positions E.g food = [[1,1], [1,0]] means the first food is positioned at [1,1], the second is at [1,0]. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected