How sanika47-hub/logicmaster works
LogicMaster is a browser-based logic learning and assessment platform. Learners explore truth tables, equivalence, inference, proofs, and challenges; the frontend also tracks gamification progress locally. The server exposes equivalence and inference APIs plus rule names through a public interface. The sampled sources show those API paths and the analysis modules beneath them. The README documents the broader learning workflow, but the excerpts do not establish frontend-to-API wiring or how proof challenges are consumed, so those links are omitted.
Main entry points: member3.js Logic Facade · inference.js Inference Checker · equivalence.js Equivalence Checker · truthTable.js Truth Evaluation
Components 18
Learning Experience
- Learning UI
Frontend/game.js - Progress Tracking
Frontend/game.js - Truth Tables
Frontend/game.js - Equivalence Practice
Frontend/game.js - Inference Practice
Frontend/game.js - Proof Assistant
Frontend/game.js - Challenge Mode
Frontend/game.js
Backend API
- HTTP Server
server.js - Public Logic Interface
Backend/member3Interface.js - Logic Facade
Backend/member3.js
Logic Analysis
- Equivalence Checker
Backend/equivalence.js - Inference Checker
Backend/inference.js - Expression Parser
Backend/parser.js - Truth Evaluation
Backend/truthTable.js - Inference Rule Library
Backend/ruleLibrary.js - Proof Engine
Backend/proof.js
Proof Content
- Proof Challenge Data
Backend/proofChallenges.js
Other components
- Learner
Connections 13
- Learner → Learning UI: uses
README.md - Learning UI → Progress Tracking: updates locally
Frontend/game.js - HTTP Server → Public Logic Interface: loads interface
server.js - Public Logic Interface → Logic Facade: delegates
Backend/member3Interface.js - Logic Facade → Equivalence Checker: checks equivalence
Backend/member3.js - Logic Facade → Inference Checker: checks inference
Backend/member3.js - Logic Facade → Inference Rule Library: retrieves rules
Backend/member3.js - Equivalence Checker → Expression Parser: parses expressions
Backend/equivalence.js - Equivalence Checker → Truth Evaluation: evaluates assignments
Backend/equivalence.js - Inference Checker → Expression Parser: parses statements
Backend/inference.js - Inference Checker → Truth Evaluation: checks assignments
Backend/inference.js - Inference Checker → Inference Rule Library: looks up rules
Backend/inference.js - Truth Evaluation → Expression Parser: parses expressions
Backend/truthTable.js