Registry / ai-ml / aimmo
library2.11.3pypypiunverified

AIMmo is a game-based platform for learning artificial intelligence and programming, featuring the creation of AI agents to compete in a multiplayer game. Current version is 2.11.3, with irregular releases.

pip install aimmo
INSTALL
IMPORT
SIG · AIMMO
A
aimmo
ai-mlpythonv2.11.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Game
from aimmo import Game
from aimmo import Game

Basic example of creating and running an AIMmo game.

from aimmo import Game game = Game() # Start the game with default settings game.run() print('Game started successfully')
Debug
Known issues
breakingIn version 2.0.0, the Avatar class was moved from aimmo.avatar to aimmo directly. Old imports will break.
fix
Use 'from aimmo import Avatar' instead of 'from aimmo.avatar import Avatar'.
affects: >=2.0.0
deprecatedThe 'run()' method without arguments is deprecated; use 'run(render=True)' to enable rendering.
fix
Pass render=True to game.run() if you need visual output.
affects: <2.11.0
gotchaRequires eventlet for WebSocket functionality; missing installation will cause runtime errors when the game tries to connect.
fix
Install eventlet: pip install eventlet
affects: all
Upgrade
Version history
2.11.3latest on PyPI · released May 22, 2024
Audit
Dependencies
djangooptionalRequired for Django integration
eventletrequiredRequired for WebSocket support
Agent activity
61 hits · last 30 days
node
52
OpenAI (training)
1
Resources
aimmo — pip install aimmo · libregistry