This project is an interactive web-based matrix game solver developed in JavaScript using the simplex method. The project was created as part of the "Game Theory" course at ITMO University under the guidance of lecturer Kochevadov.
- Input of matrices of arbitrary size (up to 6x6)
- Step-by-step solution with visualization of simplex tables
- Automatic solution with output of optimal strategies
- Examples of ready-made matrices for testing
- Saving state between sessions
- Solution of zero-sum matrix games
- Transformation to a linear programming problem
- Simplex method with step-by-step visualization
- Calculation of optimal mixed strategies
- Determining the game price
Change of variables: xᵢ = pᵢ/v Objective function: Minimize 1/v
- Specify the number of rows (Player A) and columns (Player B)
- Click "Create Matrix"
- Fill in the matrix values
- Or select a ready-made example from the list
- Click "Start Solving" for a step-by-step preview
- Use the navigation buttons to navigate through the iterations
- Click "Auto Solve" to get the final result
- HTML5/CSS3 - structure and formatting
- Vanilla JavaScript - application logic
- MathJax - displaying mathematical formulas
- Session Storage - saving state
- Implementation of the full simplex method
- Automatic selection of resolving elements
- Handling singular cases
- Input data validation
Developed as part of the "Game Theory" course, ITMO University