🎮 BATTLE ARENA

Real-time monitoring interface for the game server.

Offline
🎯 Players: 0
💥 Bullets: 0
⏱️ FPS: 0

About Battle Arena

Battle Arena is a competitive multiplayer shooter designed for developers. Powered by a 60 FPS engine running on FastAPI, the game handles continuous physics on a 100x100-unit map filled with obstacles.

Here, you don’t just play with your fingers—you play with your code. The arena is fully controllable via an open REST API, allowing any script to join the match, analyze the environment, and fight in real time.

  • 100 HP per player • 10 damage per shot
  • Real collisions between players and obstacles
  • Auto-respawn after 10 seconds

# Example Client (Python)

import requests, time

# 1. Rejoindre la bataille
res = requests.post("https://devhub-community.fr/api/join", 
                    json={"username": "MonSuperBot"})
p_id = res.json()['player_id']

while True:
    # 2. Analyser l'état du monde
    state = requests.get("https://devhub-community.fr/api/state").json()
    
    # 3. Envoyer des commandes (X/Y entre -1 et 1)
    requests.post("https://devhub-community.fr/api/move", json={
        "player_id": p_id, "direction_x": 1.0, "direction_y": 0.0
    })
    
    time.sleep(0.1) # Boucle rapide
POST /api/join

To enter the arena

POST /api/move

X/Y movements (-1.0 to 1.0)

POST /api/shoot

Directional shots