slint/examples/memory
David Faure 29e289fbdf Move the workspace to rust edition 2024
Motivation: the git pre-commit hook is confused by the mix of 2021 and
2024 in the same workspace...

The only problem this raises is the std::env::set_var("LANGUAGE", lang) in
demos/printerdemo/rust/lib.rs, pre-existing but now explicitly marked as unsafe
because it actually is. Added a TODO there.
2025-12-09 12:11:04 +01:00
..
icons Remove license header from .md/.mdx files 2025-12-04 21:58:09 +01:00
Cargo.toml Move the workspace to rust edition 2024 2025-12-09 12:11:04 +01:00
CMakeLists.txt Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
index.html Winit initial size adjustments and wasm size fixes 2023-10-24 15:28:18 +02:00
main.js node: added url support to loadFile (#6507) 2024-10-10 11:43:32 +00:00
main.py [autofix.ci] apply automated fixes 2025-02-16 14:04:13 +00:00
main.rs Janitor: Update rand dependency 2025-12-05 16:51:18 +01:00
memory.cpp Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
memory.slint Fix cheating in memory game 2024-07-15 09:34:26 +02:00
package.json Bump version number to 1.15.0 2025-10-24 14:28:17 +00:00
pyproject.toml Python: Make space for additional python modules 2025-06-25 20:43:09 +02:00
README.md Remove license header from .md/.mdx files 2025-12-04 21:58:09 +01:00

memory

A basic memory game used as an example the tutorial

.slint Design Rust Source C++ Source Online wasm Preview Open in SlintPad
memory.slint main.rs memory.cpp Online simulation Preview in Online Code Editor

Screenshot of Memory