harrisonmg / jigsaw Goto Github PK
View Code? Open in Web Editor NEWA browser-based multiplayer jigsaw puzzle built in Rust using WASM, Bevy, and Warp
Home Page: http://friendlyjigsaw.com
A browser-based multiplayer jigsaw puzzle built in Rust using WASM, Bevy, and Warp
Home Page: http://friendlyjigsaw.com
managed to refresh, see where it was, and grab it
complete check failed for multiple clients after this
This is probably much more efficient for cutting the puzzle than the current image manipulation method
the freaks are solving puzzles too fast
would be nice to have a backlog of images too
due to a mouse-centric UI you can't really participate
maybe add message that explains you can only really observe, and disable the other ui elements
Users' browsers seem to cache the original http:// url, causing the site to seem down now that it uses https.
maybe placed at same time by two players
client can't connect piece (since it's already connected serverside)
player wasn't the one that completed the puzzle
cursor party didn't happen on completion
completion was detected correctly on refresh
serializing a whole transform adds 3x the data when the rotation and scale of the pieces never changes
doing this shaves about 34% off of the size of a serialized 750-piece puzzle, not including the image
including the image, it's only 3%... so this is ultra low prio
root@vultr:~# ./multi.sh
[2023-08-18T21:02:09Z INFO warp::server] Server::run; addr=0.0.0.0:80
[2023-08-18T21:02:09Z INFO warp::server] listening on http://0.0.0.0:80
[2023-08-18T21:02:13Z INFO server] client 9662c525-3026-4987-bf36-37559c39a696 connected
[2023-08-18T21:03:17Z INFO server] client 58539c43-3e97-40d7-9d49-a921fb94f1d8 connected
[2023-08-18T21:03:42Z INFO server] client dbdc2235-e82e-4692-976c-d5390491afe0 connected
[2023-08-18T21:04:10Z INFO server] client 9662c525-3026-4987-bf36-37559c39a696 disconnected
[2023-08-18T21:04:31Z INFO server] client c93919a7-3f30-44bf-9cf4-4e3c32222885 connected
[2023-08-18T21:05:35Z INFO server] client 6aff8925-1bd2-44bc-bd30-5817036c71c7 connected
[2023-08-18T21:06:46Z INFO server] client 6aff8925-1bd2-44bc-bd30-5817036c71c7 disconnected
[2023-08-18T21:07:00Z INFO server] client 9233d7f6-1bca-4a0a-8cff-930c5d01cf33 connected
[2023-08-18T21:07:10Z INFO server] client 9233d7f6-1bca-4a0a-8cff-930c5d01cf33 disconnected
[2023-08-18T21:16:26Z INFO server] client f69e7fac-66b8-4ef3-a4af-23be729c795e connected
[2023-08-18T21:16:36Z INFO server] client f69e7fac-66b8-4ef3-a4af-23be729c795e disconnected
[2023-08-18T21:21:35Z INFO server] client 1bb4cbc3-b259-456c-a956-760f9bb0f879 connected
[2023-08-18T21:22:06Z INFO server] client 1d6e4793-5476-4f93-b0e1-87495edbd5e2 connected
[2023-08-18T21:22:26Z INFO server] client 1bb4cbc3-b259-456c-a956-760f9bb0f879 disconnected
[2023-08-18T21:23:07Z INFO server] client 1d6e4793-5476-4f93-b0e1-87495edbd5e2 disconnected
[2023-08-18T21:24:22Z INFO server] client 64b808bd-749f-44fb-97ec-0dc1a8822248 connected
[2023-08-18T21:24:31Z INFO server] client 64b808bd-749f-44fb-97ec-0dc1a8822248 disconnected
[2023-08-18T21:24:34Z INFO server] client 40427ddd-d75d-4b31-9cdf-b714402fa82e connected
[2023-08-18T21:24:35Z INFO server] client 40427ddd-d75d-4b31-9cdf-b714402fa82e disconnected
[2023-08-18T21:30:02Z INFO server] client eda555a0-41a8-4e5a-930d-83001d7a71fe connected
[2023-08-18T21:30:05Z INFO server] client eda555a0-41a8-4e5a-930d-83001d7a71fe disconnected
[2023-08-18T21:34:27Z INFO server] client 38976d46-1e96-4609-be5d-ebbe9412bd5a connected
[2023-08-18T21:34:57Z INFO server] client 38976d46-1e96-4609-be5d-ebbe9412bd5a disconnected
[2023-08-18T21:37:40Z INFO server] client 78d445c7-146b-4ee9-8242-035885fb6e3f connected
[2023-08-18T21:40:03Z INFO server] client c93919a7-3f30-44bf-9cf4-4e3c32222885 disconnected
[2023-08-18T21:40:04Z INFO server] client 38508242-45ab-40dc-b778-5a9b69e51e77 connected
[2023-08-18T21:41:39Z INFO server] client 58539c43-3e97-40d7-9d49-a921fb94f1d8 disconnected
[2023-08-18T21:41:57Z INFO server] client cd6b86e0-db45-48e3-a567-e8e5bb527e16 connected
[2023-08-18T21:43:58Z INFO server] client cd6b86e0-db45-48e3-a567-e8e5bb527e16 disconnected
[2023-08-18T21:43:59Z INFO server] client a68dd475-621a-4b7f-85e9-43ec4c8d3e69 connected
[2023-08-18T21:44:07Z INFO server] client a68dd475-621a-4b7f-85e9-43ec4c8d3e69 disconnected
[2023-08-18T21:48:31Z INFO server] client 38508242-45ab-40dc-b778-5a9b69e51e77 disconnected
[2023-08-18T21:51:26Z INFO server] client dbdc2235-e82e-4692-976c-d5390491afe0 disconnected
[2023-08-18T21:53:29Z INFO server] client 78d445c7-146b-4ee9-8242-035885fb6e3f timed out
[2023-08-18T21:53:29Z INFO server] client 78d445c7-146b-4ee9-8242-035885fb6e3f disconnected
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: SendError(ServerGameEvent { client_id: 78d445c7-146b-4ee9-8242-035885fb6e3f, game_event: PlayerDisconnected(PlayerDisconnectedEvent { player_id: 78d445c7-146b-4ee9-8242-035885fb6e3f }) })', crates/server/src/main.rs:93:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
gotta figure out how to do that...
Is "https://images3.alphacoders.com/708/708114.jpg" the correct image URL?
Underlying error: The image format could not be determined', crates/server/src/main.rs:51:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'Error loading puzzle
Is "https://images.alphacoders.com/309/309813.jpg" the correct image URL?
Underlying error: The image format could not be determined', crates/server/src/main.rs:51:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'Error loading puzzle
Is "https://images4.alphacoders.com/132/1324789.png" the correct image URL?
Underlying error: The image format could not be determined', crates/server/src/main.rs:51:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'Error loading puzzle
Is "https://images4.alphacoders.com/125/1259382.jpg" the correct image URL?
Underlying error: The image format could not be determined', crates/server/src/main.rs:51:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'Error loading puzzle
Is "https://images.alphacoders.com/206/206551.jpg" the correct image URL?
Underlying error: The image format could not be determined', crates/server/src/main.rs:51:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.