Nothing in the 3DS SDK regarding TCP/UDP connections to a remote server?
Naive approach for a real-time game:
- Centralized server.
- (TCP) Create a game session.
- (TCP) Join game session.
- (TCP) Get infos regarding session (players, length, etc...)
- Start game session at time X (relative for each player)
- Loop
- (UDP) Every second, SEND local movement every second to server.
- (TCP) Every second, ASK server for infos (other player movements, current game session states, points,...) and use that to update the game on local side.
Optimizations you can go for:
- Keep a single connection open while the game session is playing.
- Make your own small binary code to send/receive data about players movements.