Begin project, basic README & placeholder crates

This commit is contained in:
2025-10-16 12:32:29 -05:00
commit 88e6a8db5d
8 changed files with 38 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/target

11
Cargo.lock generated Normal file
View File

@@ -0,0 +1,11 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "pong-client"
version = "0.1.0"
[[package]]
name = "pong-server"
version = "0.1.0"

3
Cargo.toml Normal file
View File

@@ -0,0 +1,3 @@
[workspace]
members = ["client", "server"]
resolver = "3"

5
README.md Normal file
View File

@@ -0,0 +1,5 @@
# Pong with networked multiplayer
I'm making Pong using Bevy. The multiplayer is to be done over Websockets so that I can eventually make a WASM build and host it entirely on the web.
The repo contains a [Cargo Workspace](https://doc.rust-lang.org/cargo/reference/workspaces.html) which controls the server and client binaries.

6
client/Cargo.toml Normal file
View File

@@ -0,0 +1,6 @@
[package]
name = "pong-client"
version = "0.1.0"
edition = "2024"
[dependencies]

3
client/src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

6
server/Cargo.toml Normal file
View File

@@ -0,0 +1,6 @@
[package]
name = "pong-server"
version = "0.1.0"
edition = "2024"
[dependencies]

3
server/src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}