Releases: AlphsX/Banker-s-AlgorithmX
Releases · AlphsX/Banker-s-AlgorithmX
v1.0.0: Initial release of Banker's Algorithm Simulator
Banker's Algorithm Simulator v1.0.0
Banker's Algorithm Simulator v1.0.0 "Safe Sequence Launch" is the first official release of an interactive tool for learning and experimenting with Banker's Algorithm. It helps students, educators, and developers understand resource allocation, safety checking, and deadlock avoidance in concurrent systems.
💻 Try the live demo: https://accio-labs.vercel.app
Key Highlights
- 🎓 Interactive Visualization: See Allocation, Max, Need, and Available matrices in real-time with step-by-step algorithm explanation.
- ✅ Safety Checking: Check if your system is in a safe state and view the safe sequence.
- 🔄 Resource Request Simulation: Submit resource requests for processes and see whether the request can be safely granted.
- 📊 Dynamic System Sizing: Supports 1-10 processes and 1-10 resource types.
- 🎨 Beautiful UI: Dark/light mode, color-coded matrices, and smooth animations.
- ⌨️ Keyboard Shortcuts: Shift+Enter to check safety, Cmd/Ctrl+[ to toggle sidebar, Cmd/Ctrl+D to toggle theme.
- 📱 Mobile-Friendly: Optimized for touch gestures and responsive layout.
New Features 🎉
- Step-by-step execution of Banker's Algorithm
- Real-time matrix editing and automatic Need matrix calculation
- Safety sequence display
- Detailed resource request validation and simulation
- Dynamic adjustment of process/resource counts
- Dark/Light theme support with automatic system detection
Improvements 🔧
- Optimized safety algorithm for fast computation
- Comprehensive system validation and error reporting
- Animated process completion and resource release
- State persistence during navigation
Known Limitations ⚠️
- Fixed number of processes/resources (1-10)
- Requires prior knowledge of maximum resource needs
- Dynamic process/resource creation during execution is not supported
Acknowledgments 🙏
- Inspired by Edsger Dijkstra's Banker's Algorithm (1965)
- Built with Next.js, React, TypeScript, TailwindCSS, and Framer Motion
- Special thanks to early testers for feedback and suggestions