Git Product home page Git Product logo

turingcomplete's Introduction

Turing Complete Game

Turing Complete is a steam game which allows you to build a complex circuit using a simple NAND. And here is my solutions.

Not Gate

not


And gate

and


Or gate

or


Nor gate

nor


Always on

alwayson


Second tick

second_tick


Xor gate

xor


Bigger or

bigger_or


Bigger and

bigger_and


XNOR

xnor


Odd number of signal

odd_number_of_signal


Double trouble

double_trouble


Half Adder

half_adder


Counting Signals

image


Bit Switch

image


Full Adder

image


Adding Bytes

image


Input Selector

image


Signed Negator

image


The Bus

image


Saving Gracefully

image


Saving Bytes

image


1 Bit Decoder

image


3 Bit Decoder

image


Logic Engine

image


Arithmetic Engine

image


Counter

image


Little Box

image


Registers

image


Calculations

image


Conditions

image


Program

Only Need to Modify one place

image


Immediate Value

image


Turing Complete

image


Add 5

image


Calibrating Laser Cannons

image


Mask Time

image


Storage Cracker

image


Special Invasion

1
reg0_to_out
reg0_to_out
reg0_to_out
reg0_to_out
reg0_to_out
reg0_to_out
0
reg0_to_out
3
reg0_to_out
5
reg0_to_out
reg0_to_out
reg0_to_out
reg0_to_out
0
reg0_to_out
reg0_to_out
3
reg0_to_reg1
label wait1
wait1
reg1_to_out
in2reg3
if_eq_0
5
reg0_to_out
reg0_to_out
reg0_to_out
reg0_to_out
0
reg0_to_out
reg0_to_out
wait1
in2reg3
if_eq_0

The Maze

const tr = 2
const tl = 0
const hd = 1
3
reg0_to_reg2
label loop
# jeq3
in2reg1
sub_1_2
enter
jeq0
in2reg3
head
jeq0
turnLeft
jgt0
label head
hd
reg0_to_out
tl
reg0_to_out
in2reg3
loop
jeq0
tr
reg0_to_out
loop
jmp
label turnLeft
tl
reg0_to_out
in2reg3
loop
jeq0
tr
reg0_to_out
reg0_to_out
loop
jmp
label enter
const en = 4
en
reg0_to_out
# while true:
#   if input == 3
#     enter
#   if input == 0
#     head
#     turn_left
#     continue
#   if input == 1
#     turn_left
#     get_input
#     if input == 0
#       continue
#     else
#       turn_right
#       turn_right

Byte Constant

image


XOR

in2reg1
in2reg2
or_1_2
reg3_to_reg4
nand_1_2
reg3_to_reg1
reg4_to_reg2
and_1_2
reg3_to_out

Equality

image


Byte XOR

image


Unsigned Less

image


Signed Less

image


Wide Instruction

image


turingcomplete's People

Contributors

kaida-amethyst avatar

Watchers

 avatar

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.