intermediateMachine Coding Problems
Design the classic Snake Game — grid, movement, food, collision detection, growth.
Tests whether you can model game state and collision logic cleanly with simple data structures.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
Design the classic Snake Game — grid, movement, food, collision detection, growth.