-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1cd140
commit 8827371
Showing
25 changed files
with
134 additions
and
47 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Howl } from "howler"; | ||
|
||
export const Sound = () => { | ||
const sound = new Howl({ | ||
src: ["/sound/forest1.mp3"], | ||
loop: true, | ||
}); | ||
|
||
sound.play(); | ||
|
||
return <></>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
@import "tailwindcss"; | ||
|
||
@keyframes skew-x-shake { | ||
0% { transform: skewX(-15deg); } | ||
5% { transform: skewX(15deg); } | ||
10% { transform: skewX(-15deg); } | ||
15% { transform: skewX(15deg); } | ||
20% { transform: skewX(0deg); } | ||
0% { transform: skewX(0deg); } | ||
/* */ | ||
10% { transform: skewX(-5deg); } | ||
12% { transform: skewX(5deg); } | ||
15% { transform: skewX(0deg); } | ||
/* */ | ||
30% { transform: skewX(-5deg); } | ||
32% { transform: skewX(5deg); } | ||
35% { transform: skewX(0deg); } | ||
/* */ | ||
75% { transform: skewX(-5deg); } | ||
77% { transform: skewX(5deg); } | ||
80% { transform: skewX(0deg); } | ||
100% { transform: skewX(0deg); } | ||
} | ||
|
||
.skew-x-shake { | ||
animation: skew-x-shake 1.5s infinite; | ||
animation: skew-x-shake 2.6s infinite; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import React from "react"; | ||
import ReactDOM from "react-dom/client"; | ||
import { Interface } from "./components/interface"; | ||
import { Sound } from "./components/sound.tsx"; | ||
import "./index.css"; | ||
|
||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render( | ||
<React.StrictMode> | ||
<Sound /> | ||
<Interface /> | ||
</React.StrictMode>, | ||
); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,7 @@ | |
"db:start": "docker compose up", | ||
"db:edit": "prisma studio" | ||
}, | ||
"keywords": [ | ||
"game", | ||
"online", | ||
"twitch" | ||
], | ||
"keywords": ["game", "online", "twitch"], | ||
"author": "Nick Kosarev <[email protected]>", | ||
"license": "MIT", | ||
"repository": { | ||
|
@@ -31,12 +27,14 @@ | |
"@twurple/chat": "7.1.0", | ||
"@twurple/easy-bot": "7.1.0", | ||
"hono": "4.1.2", | ||
"howler": "2.2.4", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0" | ||
}, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.6.1", | ||
"@tailwindcss/vite": "4.0.0-alpha.9", | ||
"@types/howler": "2.2.11", | ||
"@types/react": "18.2.67", | ||
"@types/react-dom": "18.2.22", | ||
"@vitejs/plugin-react": "4.2.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,4 +38,5 @@ export interface Tree { | |
resource: number; | ||
inProgress: boolean; | ||
progressFinishAt: Date; | ||
type: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters