-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More components! #1
Comments
I would like to contribute :) |
Cool :) |
I haven't looked at this project for a long time now, but I seem to remember the implementations for logic gates being a bit hacky. One thing I've noticed in your code is your use of the Not that it would be a problem, but I also noticed you define Here's what you might want to try (untested) const down = this.board.get(this.x, this.y + 1).on;
const up = this.board.get(this.x, this.y + 1).on;
if ((up || down) && !(up && down)) {
super.simulate(from, board);
} EDIT: @pszczolas - forgot to mention you |
Implement any components you want, really. If they work, I'll probably accept a PR :)
The text was updated successfully, but these errors were encountered: