aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorcurly <curlybryce@protonmail.com>2022-08-17 20:38:11 -0600
committercurly <curlybryce@protonmail.com>2022-08-17 20:38:11 -0600
commit8b402500a4d36882c0dce7074666a2e1012b0aea (patch)
tree0cdc67f937105a4d9d3559ef161910664970d4e5 /src/main.rs
parentd2eb2068bac4e9bdd9ac5e2d727266dd282816b9 (diff)
downloadtetris-8b402500a4d36882c0dce7074666a2e1012b0aea.tar.gz
tetris-8b402500a4d36882c0dce7074666a2e1012b0aea.tar.bz2
tetris-8b402500a4d36882c0dce7074666a2e1012b0aea.zip
functional
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index aba1e8f..153019b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,8 +1,6 @@
use tetris::Game;
-use tetris::input::Input;
fn main() {
- let input = Input::new();
- let game = Game::new();
- game.game_loop(&input)
+ let mut game = Game::new();
+ game.game_loop()
} \ No newline at end of file