Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • main
  • 01-simple-board
  • 02-typed-squares
  • 03-board-struct
  • 04-impl-for-board
  • 05-unit-tests
  • 06-trait
  • 07-trait-derive
  • 08-Display
  • 09-modules
  • 09.5-before-main-generic
  • 10-generics
  • 11-flip-coin
13 results

Target

Select target project
  • michael.hauspie/intro-rust-game
1 result
Select Git revision
  • main
  • 01-simple-board
  • 02-typed-squares
  • 03-board-struct
  • 04-impl-for-board
  • 05-unit-tests
  • 06-trait
  • 07-trait-derive
  • 08-Display
  • 09-modules
  • 09.5-before-main-generic
  • 10-generics
  • 11-flip-coin
13 results
Show changes
Commits on Source (2)
No preview for this file type
//! A module that implements several board games //! A module that implements several games
pub mod tictactoe; pub mod tictactoe;
pub mod coin_flip; pub mod coin_flip;
/// A trait that defines a Board for a game where we can make a player /// A trait that defines a game where we can make a player
/// play a move and check if a player has won /// play a move and check if a player has won
pub trait Game<Move, Player> { pub trait Game<Move, Player> {
......