MeFisto94 / MeFisto94/RedstoneGate

Adding a new output alters the truthtable

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

So, when the old truthtable was:

B    red  green green green
F    red  green green green

And you add in Right as an output, then the contents are NOTt shifted by one row, which means you end up with:

R  red green green green
B  red green green green
F  red red red red

The desired output is that the truth table is moved down one row, so it doesn't change:

R red red red red
B red green green green
F red green green green

The problematic there is to find out if an input has been added above and how to shift (the code uses some not very clear way of converting facings)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the truth-table update logic and the facing-conversion code mentioned in the issue. Reproduce adding Right as an output to the shown table, then trace how rows are assigned. Done means the existing B and F rows retain their values while the new R row is inserted above them.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.