);
\ No newline at end of file
diff --git a/src/SmartMonopoly.ts b/src/SmartMonopoly.ts
new file mode 100644
index 0000000..6b8f2aa
--- /dev/null
+++ b/src/SmartMonopoly.ts
@@ -0,0 +1,8 @@
+/**
+ * Background Class for doing stuff on the host
+ */
+export default class SmartMonopoly{
+ static run() {
+
+ }
+}
\ No newline at end of file
diff --git a/src/index.css b/src/index.css
deleted file mode 100644
index 66a1728..0000000
--- a/src/index.css
+++ /dev/null
@@ -1,7 +0,0 @@
-body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
- Arial, sans-serif;
- margin: auto;
- /*max-width: 38rem;*/
- padding: 1rem;
-}
diff --git a/src/index.ts b/src/index.ts
index 10aa6cb..e5d47ae 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,4 +1,6 @@
import { app, BrowserWindow } from 'electron';
+import SmartMonopoly from "./SmartMonopoly";
+
// This allows TypeScript to pick up the magic constants that's auto-generated by Forge's Webpack
// plugin that tells the Electron app where to look for the Webpack-bundled app code (depending on
// whether you're running in development or production).
@@ -23,6 +25,9 @@ const createWindow = (): void => {
// and load the index.html of the app.
mainWindow.loadURL(MAIN_WINDOW_WEBPACK_ENTRY);
+
+ // Background
+ SmartMonopoly.run();
};
// This method will be called when Electron has finished
@@ -49,3 +54,4 @@ app.on('activate', () => {
// In this file you can include the rest of your app's specific main process
// code. You can also put them in separate files and import them here.
+
diff --git a/src/web/App.tsx b/src/web/App.tsx
new file mode 100644
index 0000000..3e3fdb1
--- /dev/null
+++ b/src/web/App.tsx
@@ -0,0 +1,160 @@
+import {createRoot} from 'react-dom/client';
+import React, {Component, useState} from "react";
+import Startup from "./Startup";
+import WiFi from "./WiFi";
+import Cloud from "./Cloud";
+import Game from "./Game";
+import GameSetup from "./GameSetup";
+import GameEnd from "./GameEnd";
+import Setup from "./Setup";
+
+const root = createRoot(document.getElementById("root"));
+
+
+/*interface State {
+ count: number
+}
+
+class Counter extends React.Component<{}, State> {
+ constructor(props: {}) {
+ super(props);
+ this.state = {count: 0};
+ }
+
+ handleIncrement = () => {
+ this.setState((prevState) => ({
+ count: prevState.count + 1 // Increment count
+ }));
+ }
+
+ handleDecrement = () => {
+ this.setState((prevState) => ({
+ count: prevState.count - 1 // Decrement count
+ }))
+ }
+
+ render() {
+ return (
+
diff --git a/src/renderer.ts b/src/web/renderer.ts
similarity index 95%
rename from src/renderer.ts
rename to src/web/renderer.ts
index cebaad8..41dbdb3 100644
--- a/src/renderer.ts
+++ b/src/web/renderer.ts
@@ -27,6 +27,8 @@
*/
import './reset.css';
+import './defaults.css';
+import './components.css';
import './index.css';
//console.log('👋 This message is being logged by "renderer.js", included via webpack');
diff --git a/src/reset.css b/src/web/reset.css
similarity index 100%
rename from src/reset.css
rename to src/web/reset.css