aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
authorcurly <curlybryce@protonmail.com>2022-08-13 17:21:42 -0600
committercurly <curlybryce@protonmail.com>2022-08-13 17:21:42 -0600
commit1d1ca2fdae780efdb9d27394f5d3720fe9282c91 (patch)
treece6c36767bba6e594d5ea63834041232f058a3ce /src/display.rs
downloadtetris-1d1ca2fdae780efdb9d27394f5d3720fe9282c91.tar.gz
tetris-1d1ca2fdae780efdb9d27394f5d3720fe9282c91.tar.bz2
tetris-1d1ca2fdae780efdb9d27394f5d3720fe9282c91.zip
define everthing I can think of
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/display.rs b/src/display.rs
new file mode 100644
index 0000000..c3791f8
--- /dev/null
+++ b/src/display.rs
@@ -0,0 +1,5 @@
+pub fn display(grid: &Vec<Vec<i8>>) {
+ for y in grid {
+ println!("{:?}", y);
+ }
+} \ No newline at end of file