tangled
alpha
login
or
join now
bwc9876.dev
/
manhunt-app
0
fork
atom
Live location tracking and playback for the game "manhunt"
0
fork
atom
overview
issues
pulls
1
pipelines
Fix Format
bwc9876.dev
3 weeks ago
b8fd9798
2edc772a
verified
This commit was signed with the committer's
known signature
.
bwc9876.dev
SSH Key Fingerprint:
SHA256:DanMEP/RNlSC7pAVbnXO6wzQV00rqyKj053tz4uH5gQ=
+39
-37
2 changed files
expand all
collapse all
unified
split
frontend
package.json
manhunt-logic
src
game_state.rs
+36
-36
frontend/package.json
···
1
{
2
-
"name": "manhunt-app",
3
-
"private": true,
4
-
"version": "0.1.0",
5
-
"type": "module",
6
-
"scripts": {
7
-
"dev": "vite",
8
-
"build": "tsc && vite build",
9
-
"preview": "vite preview",
10
-
"lint": "tsc && eslint --cache"
11
-
},
12
-
"dependencies": {
13
-
"@tauri-apps/api": "^2",
14
-
"@tauri-apps/plugin-geolocation": "^2",
15
-
"@tauri-apps/plugin-log": "^2",
16
-
"@tauri-apps/plugin-notification": "^2",
17
-
"@tauri-apps/plugin-opener": "^2",
18
-
"@tauri-apps/plugin-dialog": "^2",
19
-
"react": "^19",
20
-
"react-dom": "^19",
21
-
"swr": "^2"
22
-
},
23
-
"devDependencies": {
24
-
"@eslint/js": "^9.39.2",
25
-
"@types/node": "^25.2.3",
26
-
"@types/react": "^19",
27
-
"@types/react-dom": "^19",
28
-
"@vitejs/plugin-react": "^5.1.4",
29
-
"eslint": "^9.39.2",
30
-
"eslint-plugin-react": "^7",
31
-
"eslint-plugin-react-hooks": "^5.2.0",
32
-
"globals": "^17.3.0",
33
-
"prettier": "^3",
34
-
"typescript": "^5",
35
-
"typescript-eslint": "^8",
36
-
"vite": "^7"
37
-
}
38
}
···
1
{
2
+
"name": "manhunt-app",
3
+
"private": true,
4
+
"version": "0.1.0",
5
+
"type": "module",
6
+
"scripts": {
7
+
"dev": "vite",
8
+
"build": "tsc && vite build",
9
+
"preview": "vite preview",
10
+
"lint": "tsc && eslint --cache"
11
+
},
12
+
"dependencies": {
13
+
"@tauri-apps/api": "^2",
14
+
"@tauri-apps/plugin-geolocation": "^2",
15
+
"@tauri-apps/plugin-log": "^2",
16
+
"@tauri-apps/plugin-notification": "^2",
17
+
"@tauri-apps/plugin-opener": "^2",
18
+
"@tauri-apps/plugin-dialog": "^2",
19
+
"react": "^19",
20
+
"react-dom": "^19",
21
+
"swr": "^2"
22
+
},
23
+
"devDependencies": {
24
+
"@eslint/js": "^9.39.2",
25
+
"@types/node": "^25.2.3",
26
+
"@types/react": "^19",
27
+
"@types/react-dom": "^19",
28
+
"@vitejs/plugin-react": "^5.1.4",
29
+
"eslint": "^9.39.2",
30
+
"eslint-plugin-react": "^7",
31
+
"eslint-plugin-react-hooks": "^5.2.0",
32
+
"globals": "^17.3.0",
33
+
"prettier": "^3",
34
+
"typescript": "^5",
35
+
"typescript-eslint": "^8",
36
+
"vite": "^7"
37
+
}
38
}
+3
-1
manhunt-logic/src/game_state.rs
···
2
3
use chrono::Utc;
4
use rand::{
5
-
RngExt, SeedableRng, distr::{Bernoulli, Distribution}, seq::{IndexedRandom, IteratorRandom}
0
0
6
};
7
use rand_chacha::ChaCha20Rng;
8
use serde::{Deserialize, Serialize};
···
2
3
use chrono::Utc;
4
use rand::{
5
+
RngExt, SeedableRng,
6
+
distr::{Bernoulli, Distribution},
7
+
seq::{IndexedRandom, IteratorRandom},
8
};
9
use rand_chacha::ChaCha20Rng;
10
use serde::{Deserialize, Serialize};