An innovative interactive game designed to teach the principles of Explainable AI (XAI) through engaging scenarios and intuitive visualizations. This project uses SHAP (SHapley Additive exPlanations) to help players interpret model predictions and understand feature importance.
The game bridges the gap between XAI concepts and practical understanding. By turning complex ideas into an engaging learning experience, it empowers players to make informed decisions about AI-driven insights.
This project reflects the core principles of Responsible AI and Explainable AI by:
- Providing an intuitive, hands-on learning experience.
- Applying SHAP visualizations to new and interactive educational scenarios.
- Promoting the use of XAI for education and outreach.
- Interactive Gameplay: Players navigate multiple levels, analyze model predictions, and make decisions based on feature explanations.
- XAI Integration: Visualizations of SHAP values to interpret model outputs.
- Engaging Feedback System: Scores and progress tracking for players.
- Customization Options: Choose characters and personalize gameplay.
- Node.js and npm installed on your system.
- Clone the repository:
git clone https://github.com/afraa-n/XAI-Learning-Game.git
- Navigate to the project directory:
cd XAI-Learning-Game - Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and navigate to
http://localhost:3000.
- Choose a character and enter your name.
- Explore the level map and select a scenario.
- Review the dataset and select feature values.
- Analyze SHAP value visualizations for model interpretability.
- Make predictions and compare them with model outputs.
- Progress through levels to unlock new challenges and features.
- React: For building user interfaces.
- TypeScript: For enhancing code quality with static typing.
- Tailwind CSS: For rapid and flexible UI styling.
- Recharts: For dynamic SHAP value visualizations.
- Shadcn/ui: For modern and accessible components.
- Inspired by real-world XAI use cases and scenarios.
- Special thanks to the tools and open-source libraries used in this project.
Watch a short overview of the game and its features in this video presentation.
