From 9bb9c6e0eaaf1769172bc2c86f3a0bdd1b28f31f Mon Sep 17 00:00:00 2001
From: Adam <24621027+WhiteDopeOnPunk@users.noreply.github.com>
Date: Mon, 16 Jan 2023 20:53:53 -0500
Subject: [PATCH] tickticktick
---
enigma/src/App.css | 13 ---
enigma/src/App.js | 81 ------------------
enigma/src/Machine.css | 6 ++
enigma/src/Machine.js | 41 ++++++++++
enigma/src/components/Rotor.css | 9 ++
enigma/src/components/Rotor.js | 39 +++++++++
enigma/src/components/Rotorbox.css | 5 ++
enigma/src/components/Rotorbox.js | 86 ++++++++++++++++++++
enigma/src/index.js | 4 +-
enigma/src/media/mixkit-hard-click-1118.wav | Bin 0 -> 154076 bytes
10 files changed, 188 insertions(+), 96 deletions(-)
delete mode 100644 enigma/src/App.css
delete mode 100644 enigma/src/App.js
create mode 100644 enigma/src/Machine.css
create mode 100644 enigma/src/Machine.js
create mode 100644 enigma/src/components/Rotor.css
create mode 100644 enigma/src/components/Rotor.js
create mode 100644 enigma/src/components/Rotorbox.css
create mode 100644 enigma/src/components/Rotorbox.js
create mode 100644 enigma/src/media/mixkit-hard-click-1118.wav
diff --git a/enigma/src/App.css b/enigma/src/App.css
deleted file mode 100644
index 697aa11..0000000
--- a/enigma/src/App.css
+++ /dev/null
@@ -1,13 +0,0 @@
-.machine {
- width: 12.5em;
-}
-.rotorbox {
- padding-left: 25%;
- display: flex;
-}
-.rotor {
- max-width: 1em;
-}
-.rotorwheel {
- background-color: #101010;
-}
diff --git a/enigma/src/App.js b/enigma/src/App.js
deleted file mode 100644
index 10e7199..0000000
--- a/enigma/src/App.js
+++ /dev/null
@@ -1,81 +0,0 @@
-import React from 'react';
-import ReactDOM from 'react-dom/client';
-import './App.css';
-
-class Rotor extends React.Component {
- constructor() {
- super()
- }
- alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- state = {
- pos: 0,
- current: this.alphabet[0]
- }
- tick(me) {
- if (this.state.pos === 26) {
- // roll next rotor
- this.setState({
- pos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