commit 1fbc551ab26e0edd983c462cb2fde11ce11a8399 Author: Rokas Puzonas Date: Wed Jun 1 23:21:57 2022 +0000 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..196e176 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb + + +# Added by cargo + +/target diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..1275ff5 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,3 @@ +hard_tabs = true +tab_spaces = 2 +max_width = 80 diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..a6f1e9d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "rust-wasm-minesweeper" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/README.md b/README.md new file mode 100644 index 0000000..d2af656 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Minesweeper using Rust & WASM + +Tutorial: https://www.youtube.com/watch?v=0ywizYLPV00 diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..a30eb95 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}