Legal Wars is a pixel-art law firm simulator built for the Sydney edition of the Mistral AI Worldwide Hackathon.
The project explores how learning law can become more interactive by turning Australian legal scenarios into a simulation-based experience
Players begin by selecting a jurisdiction and case, then enter a virtual law office where they interact with AI-powered legal characters.
A Game Master agent manages the flow of the case and coordinates the different legal agents throughout the experience.
Features
- Jurisdiction Selection - Allows players to choose an Australian legal jurisdiction before starting a case.
- Case-Based Legal Simulation - Lets players work through legal scenarios in an interactive law firm environment.
- AI Legal Agents - Powers different characters that represent roles in the legal process.
- Game Master Agent - Orchestrates the agents and drives the progression of each case.
- Retrieval-Augmented Legal Reasoning - Uses legal corpus retrieval with jurisdiction filtering to support more relevant responses.
- Voice Narration - Adds character voice narration to make the experience more immersive.
- Pixel-Art Interface - Provides a custom game-style UI for the legal simulation experience.
A walkthrough of Legal Wars gameplay and AI-powered legal simulation
Technical Architecture
Mistral AI Large 3 was used to orchestrate the multi-agent system, while Mistral 7B was fine-tuned with LoRA on the Open Australian Legal QA Dataset to power the AI legal agents. The Open Australian Legal Corpus supported legal retrieval with jurisdiction filtering.
LangChain & Chroma were used to build the RAG pipeline, enabling relevant legal information retrieval for each case. ElevenLabs was used to add voice narration for in-game characters, making the simulation more interactive and immersive.
Fine-tuned Mistral 7B model: Nidhan3/mistral-7b-instruct-legal-ft