Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pandermatt/turing-machine

🎰 Turing Machine (only multiplication) in Java
https://github.com/pandermatt/turing-machine

demo java turing-machine

Last synced: 1 day ago
JSON representation

🎰 Turing Machine (only multiplication) in Java

Awesome Lists containing this project

README

        

# Turing Machine (only multiplication)

**A easy implementation of the turing machine**

More about the turing machine:

*Fork me on Github: *

## Demo

![Turing Machine](ScreenShot.png)

[![Demo Youtube](https://j.gifs.com/1rGz60.gif)](https://www.youtube.com/watch?v=aHOqqASOnk4)

Full Demo on [YouTube](https://www.youtube.com/watch?v=aHOqqASOnk4)

### Keynote

[Keynote (in german)](https://github.com/pandermatt/turing-machine/blob/master/keynote.tpp)

Made with [TPP](https://github.com/cbbrowne/tpp)

## Implementation

* with Java
* 3 Tapes
```
//Tapes on first run
Tape 1: [0, 0, 0, 1, 0, 0] //3*2
Tape 2: [ ]
Tape 3: [ ]
```
* Step Mode 🐢 and Fast Mode 🐇

## How to run

- Multiplication: `2*6`
- Step Mode 🐢: shows every step
- `1` enable step mode
- `0` disable step mode
- Fast Mode 🐇: disable all `System.out.println`
- `1` enable fast mode
- `0` disable fast mode
- Infinity Tape ⏩
- `1` print as infinity tape
- `0` print only content
- Timeout ⏰
- timeout between the step

```
java Main [multiplication] [step mode] [fast mode] [infinity tape] [timeout]

java Main "2*6" 1
```

## Contributors

- [Stefan Brunner](https://github.com/thecoder95)
- [Ralph Meier](https://github.com/Wreck-It-Ralph)
- [Pascal Andermatt](https://github.com/pandermatt)