We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1eb151a commit ab612c7Copy full SHA for ab612c7
2 files changed
topics/tic-tac-toe/src/game/game.rs
@@ -20,6 +20,7 @@ impl Game {
20
}
21
22
23
+ // Main game loop
24
pub fn play(&mut self) {
25
loop {
26
self.display_board();
topics/tic-tac-toe/src/main.rs
@@ -2,6 +2,7 @@ mod game;
2
3
use crate::game::game::Game;
4
5
+// Main game entry point
6
fn main() {
7
println!("Starting Tic Tac Toe game..." );
8
let mut game = Game::new();
0 commit comments