dakotacookenmaster / ByteWeave

ByteWeave is a web-based application that allows students to simulate digital circuits using a variety of logic gates, including AND, OR, NOT, NAND, NOR, INPUT, OUTPUT, and Seven Segment Displays. Instructors can also create assignments with custom logic circuits that are automatically graded.
https://byteweave.dacoder.io
2 stars 0 forks source link

Allow individual naming of inputs & outputs #13

Open ProfessorO opened 1 year ago

ProfessorO commented 1 year ago

Nothing groundbreaking--it would just be nice to be able to pick the names of the inputs & outputs. Might be as simple as including a "name" key for each of the items in the "inputs" list in the assignment JSON file.

dakotacookenmaster commented 1 year ago

@ProfessorO Hm, I'm open to suggestions here. Right now, labels are automatically generated much like the rows in an Excel spreadsheet. The previous label is used to calculate all future labels. Luckily, elements have a unique ID to keep track of them, so we don't have to worry about conflicting labels. But I'd be open to suggestion about how we can allow either all-or-nothing, or a mixture of autogeneration and pre-crafted labels.