issues
search
chewisinho
/
proof-builder
Interactive proof builder written in HTML/CSS and JavaScript. Won Best Education Hack at HackTech 2016.
http://devpost.com/software/proof-builder
2
stars
1
forks
source link
Reorganize project
#18
Open
chewisinho
opened
8 years ago
chewisinho
commented
8 years ago
Add more directories
Move logic code out of canvas.js
Create main.js file
Clean up and generalize/abstract away code fragments
pencels
commented
8 years ago
Reorganization/refactoring progress:
Objects
[x] Point
[x] Line Segment
[x] Polygon
[x] Triangle
[x] Angle
[ ] Circle
Properties
[x] Congruences
[x] Midpoints
Theorems
[x] Theorem: base class added; all theorems inherit from it
[x] Midpoint Splitting Theorem
[x] Reflexive Property
[x] SSS Postulate
[ ] SAS Postulate
[ ] ASA Postulate
[ ] Transitive Property
[ ] Vertical Angle Congruence
Interface files
[ ] canvas.js → main.js: the original .js appears to just set everything up
[ ] tabs.js → GUI.js + logic.js: the original .js mixes the meat of the logic and manipulating the GUI; should be split
[ ] Save.js
[ ] checkdialog.js → [we'll be directly clicking on the objects to select them (maybe use jQuery API until that point)]