GithubHelp home page GithubHelp logo

digital_logic_game's Introduction

# Zombie Gates

TODO: Write a project description

Installation

Download Source. Extract source to a folder. Open DigitalLogic.html in web browser.

Usage

Created as a game that can teach you the rules of Boolean Algebra in a visual manner.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Credits

All who contribute!

License

TODO: Write license readme

digital_logic_game's People

Contributors

renatestrind avatar will9371 avatar

Watchers

Andy Ernst avatar  avatar

digital_logic_game's Issues

Can not draw lines in firefox

When trying to draw a line in firefox, when you select the endpoint of the line it disappears. After trying to draw the first line you don't seem to be able to create another line.

Combining inputs with connectors does not propagate signal

When, for example, outputs A and B are both fed into a connector, only the signal in the line that was drawn first passes through. The user can work around this by combining wires with OR gates rather than connectors, but if it is a rule that connectors can only be used to split outputs, this should be indicated in the game/interface somehow.

Changing Level should clear gameboard

levelChange(event) in Game.js should be updated to clear gameboard so as to not let the user cheat. ex... loading "Using XOR" and connecting circuit to solve "Building XOR", then switching levels.

Better Wire laying system

  1. When drawing a wire, make it so it continues to draw until it reaches either a node (gate, output, input) or right mouse button is pressed.

  2. When the right mouse button is pressed create endpoint at cursor.

  3. To cancel drawing the line past the last node press the escape key.

can not place gates in IE

Gates can't be placed when using Internet Explorer. Clicking and holding attaches them to cursor. When releasing mouse button gate disappears from cursor and is not placed on canvas.

output 2 not getting cleared correctly.

after completing a mission using output 2(GREEN), when clearing the board and switching to a new mission the output 2 still seems to remain active somehow.

steps to reproduce:
complete lines mission "Intro: wiring" input D to output 2(green).
clear board.
load mission "Intro: AND"
wire inputs C and D to a AND gate, wire the output of the AND gate to output 1(RED).
when stepping through the mission, the first two civilians will get shocked with a green color,
when the and gate activates the tesla coil is yellow not red. (RED + GREEN = YELLOW).

Browser : Mosilla Firefox

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.