https://github.com/demkeys/tictactoe-rust
A Tic Tac Toe console game I made for practice, as a beginner in Rust.
https://github.com/demkeys/tictactoe-rust
game rust rustlang tictactoe
Last synced: 3 months ago
JSON representation
A Tic Tac Toe console game I made for practice, as a beginner in Rust.
- Host: GitHub
- URL: https://github.com/demkeys/tictactoe-rust
- Owner: Demkeys
- License: mit
- Created: 2024-09-08T14:23:13.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-08T15:37:12.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T22:50:59.367Z (over 1 year ago)
- Topics: game, rust, rustlang, tictactoe
- Language: Rust
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tictactoe-rust
A Tic Tac Toe console game I made for practice, as a beginner in Rust.
---
To use:
- Drag [tictactoe_game.rs](https://github.com/Demkeys/tictactoe-rust/blob/main/tictactoe_game.rs) into your project.
- Add the following code to your ```main.rs ``` file
```
mod tictactoe_game;
use tictactoe_game::game_loop;
```
- Then you can call ```game_loop()``` in your ```main()``` function.