Back to Challenges
🐍
Snake Game
GameWebSocketLearn MCP transports by building a snake game AI. Explore stdio, HTTP+SSE, and WebSocket!
Choose Game Mode
Real-time mode plays like classic snake. Step mode lets you (or an AI via MCP) control each move.
Score
0
Current
0
High Score
How to Play
Real-time: Classic snake with arrow keys or WASD.
Step mode: Game waits for your input. Perfect for MCP integration - each move is a tool call!
Real-time Mode
Classic snake gameplay. Use arrow keys or WASD to control. Speed increases as you eat!
Step Mode
Game waits for each input. Perfect for MCP integration - each move becomes a tool call!
WebSocket Transport
Real-time MCP with persistent connections. Lower latency, bidirectional communication.