/faulty-logic-game

Logic circuit sandbox game

Primary LanguageJavaScript

Faulty Logic

A work in progress circuit game for the browser inspired by SHENZHEN IO, Minecraft and redpower

Planned Components

Logic Parts

  • Power Block (fixed state)
  • Toggle Block (on / off)
  • Maximise (analogue => digital)
  • Not (digital input inversion)
  • And (digital multi input AND gate)
  • Or (digital multi input OR gate)
  • Xor (digital multi input XOR gate)
  • Sum (analogue multi input addition, max 255)
  • Timer (toggleable digital pulse emitter)
  • Pulse (rising edge configurable pulse emitter)
  • Delay (analogue variable length buffer)
  • CHIP (16 pin programmable ALU)

Output Parts

  • Lamp (0 - 255)
  • Colour Lamp (0 - 255, 0 - 255, 0 - 255)
  • 2 x 7 Segment display
  • Speaker

Input Parts

  • Dial (0 - 255)
  • Button (0 / 255)
  • Switch (0 / 255)
  • 16 x 16 Touch Panel (0 - 255)