initial commit

This commit is contained in:
2025-11-19 02:22:34 +01:00
commit f5e34ccece
7 changed files with 1202 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
target
Cargo.lock
shell.nix
dist
generated_cards

11
Cargo.toml Normal file
View File

@@ -0,0 +1,11 @@
[package]
name = "schafkopf-game"
version = "0.1.0"
edition = "2024"
[dependencies]
schafkopf-logic = "0.1.0"
bevy = { version = "0.17", features = ["png", "default_font"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.3", features = ["wasm_js"] }

7
Trunk.toml Normal file
View File

@@ -0,0 +1,7 @@
[build]
dist = "dist"
release = true
[serve]
open = false
port = 8080

BIN
assets/schell_sau.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

BIN
assets/symbole.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

33
index.html Normal file
View File

@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Schafkopf Logic</title>
<link data-trunk rel="rust" href="Cargo.toml" />
<link data-trunk rel="copy-dir" href="assets" />
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
}
canvas {
display: block;
width: 100vw;
height: 100vh;
background-color: #000;
}
</style>
</head>
<body></body>
</html>

1146
src/main.rs Normal file

File diff suppressed because it is too large Load Diff