Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
intro-rust-game
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Hauspie
intro-rust-game
Commits
49fa5730
Commit
49fa5730
authored
2 years ago
by
Michael Hauspie
Browse files
Options
Downloads
Patches
Plain Diff
Add README and default to TicTacToe
parent
6fc215b6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+11
-0
11 additions, 0 deletions
README.md
src/main.rs
+2
-2
2 additions, 2 deletions
src/main.rs
with
13 additions
and
2 deletions
README.md
0 → 100644
+
11
−
0
View file @
49fa5730
This repository is a rust simple board game engine used as a live
coding support for an rust introduction seminar
To build and test it
```
cargo test
cargo run
```
This diff is collapsed.
Click to expand it.
src/main.rs
+
2
−
2
View file @
49fa5730
...
...
@@ -44,8 +44,8 @@ where
}
fn
main
()
{
//
let board = TicTacToe::new();
let
board
=
board
::
coin_flip
::
FlipCoin
::
new
(
42
);
let
board
=
TicTacToe
::
new
();
//
let board = board::coin_flip::FlipCoin::new(42);
play
(
board
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment