A web-based army builder application with an integrated admin interface for managing army data. This version uses an Express.js server for handling army data and management.
- 🎮 Interactive army building interface
- 📊 Real-time validation and point calculation
- 🎯 Support for Chaos Host armies with allied contingents
- 🛠 Admin interface for army data management
- 💾 Local storage for army lists
- 🖨 Print-ready army list output
├── server.js # Express server for army data management
├── admin.html/js/css # Admin interface for managing army data
├── index.html # Main army builder interface
├── main.js # Core army builder logic
├── armies/ # Individual army data files
├── comun.js # Common magic items database
├── ejercitos.js # Army registry and data loading
├── rulesEngine.js # Army validation rules engine
├── validation.js # Army list validation logic
├── storage.js # Local storage management
└── print.js # Print formatting logic
- Install dependencies:
npm install- Start the server:
npm start- Access the application:
- Main Builder: http://localhost:3000
- Admin Interface: http://localhost:3000/admin.html
- Node.js >= 14.0.0
- npm >= 6.0.0
- Clone the repository
- Install dependencies with
npm install - Start the development server with
npm start
- Query Parameters:
faction: Army faction ID (e.g., "imp", "gcaos", "comun")
- Returns: Complete army data including units, magic items, and rules
- Body: Army data object
- Returns: Success confirmation
Armies are structured with the following components:
- Units Database (
unitsDB) - Magic Items Database (
magicItemsDB) - Army Skills Database (
armySkillsDB) - Mounts Database (
mountsDB) - Validation Rules
- FOC slot configuration
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- 4.5 fixing issues with manual-units in printing and FOC points distribution. unfinished. child manual units can't be rendered to edit.
This project is proprietary software. All rights reserved.