Skip to content

Commit

Permalink
Udpate contributing book examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bitzoic committed Jan 30, 2025
1 parent ad9f78e commit 0df3f88
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions docs/contributing-book/src/code/Forc.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[[package]]
name = "bad_documentation"
source = "member"
dependencies = ["std"]

[[package]]
name = "connect_four"
source = "member"
dependencies = ["std"]

[[package]]
name = "core"
source = "path+from-root-2E654A91A5A21ADE"

[[package]]
name = "std"
source = "git+https://github.com/fuellabs/sway?tag=v0.66.6#986aee2c1e34c9cd958c81e7fd6b84638b26619b"
dependencies = ["core"]

[[package]]
name = "style_guide"
source = "member"
dependencies = ["std"]
4 changes: 2 additions & 2 deletions docs/contributing-book/src/code/connect_four/src/main.sw
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
contract;

mod data_structures;
mod interface;
pub mod data_structures;
pub mod interface;

use data_structures::{Game, Player};
use interface::ConnectFour;
Expand Down

0 comments on commit 0df3f88

Please sign in to comment.