A unique multiplayer coding battle game where players write Java code to control virtual robots that compete in an arena. The system features AI-powered opponents that adapt to player strategies, creating an engaging challenge.
- Code-Driven Gameplay: Write Java code to control your robot's behavior and strategy
- Real-time Multiplayer Battles: Compete against other players in real-time coding battles
- AI Opponents: Challenge adaptive AI bots that learn from previous battles
- 3D Battle Visualization: Watch your code come to life in a 3D arena powered by Three.js
- Integrated Code Editor: Write, debug, and test your code directly in the platform
- Leaderboard & Profiles: Track your progress and compare with other players
- Reward System: Earn rewards by solving coding challenges to enhance your robot
- Live Streaming & Spectating: Watch ongoing battles and learn from other players
- Java 17
- Spring Boot 3.x
- WebSockets for real-time communication
- TensorFlow for AI opponent learning
- PostgreSQL for data storage
- React.js
- Three.js for 3D visualization
- Monaco Editor for code editing
- Material-UI for responsive design
- Docker for containerization
- AWS for hosting
- CI/CD pipeline
CodeBattleArena/
├── backend/ # Java Spring Boot backend
│ ├── src/ # Source code
│ ├── pom.xml # Maven dependencies
│ └── Dockerfile # Backend container configuration
├── frontend/ # React.js frontend
│ ├── public/ # Static assets
│ ├── src/ # Source code
│ ├── package.json # NPM dependencies
│ └── Dockerfile # Frontend container configuration
├── database/ # Database scripts and migrations
├── ai-engine/ # TensorFlow AI opponent implementation
├── docker-compose.yml # Multi-container Docker configuration
└── README.md # Project documentation
- Java 17 or higher
- Node.js 16 or higher
- Docker and Docker Compose
- PostgreSQL
- Clone the repository
- Run
docker-compose up
to start all services - Access the application at
http://localhost:3000
cd backend
./mvnw spring-boot:run
cd frontend
npm install
npm start
MIT