Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some misspellings #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hangman/src/main.leo
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ circuit Hangman {
// The `zero` group element for Edwards BLS12
const digest: Point = Point { x: 0field, y: 258664426012969094010652733694893533536393512754914660539884262666720468348340822774968888139573360124440321458177field };

// x and y coordiantes corresponding to the `one` group element.
// x and y coordinates corresponding to the `one` group element.
const x: field = 7810607721416582242904415504650443951498042435501746664987470571546413371306field;
const y: field = 1867362672570137759132108893390349941423731440336755218616442213142473202417field;

Expand Down
4 changes: 2 additions & 2 deletions hangman/src/question_4.leo
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ circuit Hangman {
// The `zero` group element for Edwards BLS12
const digest: Point = Point { x: 0field, y: 258664426012969094010652733694893533536393512754914660539884262666720468348340822774968888139573360124440321458177field };

// x and y coordiantes corresponding to the `one` group element.
// x and y coordinates corresponding to the `one` group element.
const x: field = 7810607721416582242904415504650443951498042435501746664987470571546413371306field;
const y: field = 1867362672570137759132108893390349941423731440336755218616442213142473202417field;

Expand All @@ -101,7 +101,7 @@ circuit Hangman {
//! 444. We need to check that all the letters in the word are valid. If any
//! of them are invalid, we should change the commitment to Point{x: 0field, y: 0field};
//! To use an implementation of a circuit that doesn't take `self' as an input, you can
//! type Hangman::funciton_name()
//! type Hangman::function_name()
for i in 0..word_length {

}
Expand Down
4 changes: 2 additions & 2 deletions hangman/src/question_5.leo
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ circuit Hangman {
// The `zero` group element for Edwards BLS12
const digest: Point = Point { x: 0field, y: 258664426012969094010652733694893533536393512754914660539884262666720468348340822774968888139573360124440321458177field };

// x and y coordiantes corresponding to the `one` group element.
// x and y coordinates corresponding to the `one` group element.
const x: field = 7810607721416582242904415504650443951498042435501746664987470571546413371306field;
const y: field = 1867362672570137759132108893390349941423731440336755218616442213142473202417field;

Expand Down Expand Up @@ -121,7 +121,7 @@ circuit Hangman {
}

//! 555. Now that we are guessing a letter, what do you think the input should be?
//! And the ouput?
//! And the output?
function guess_letter() -> {

}
Expand Down
4 changes: 2 additions & 2 deletions hangman/src/question_6.leo
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ circuit Hangman {
// The `zero` group element for Edwards BLS12
const digest: Point = Point { x: 0field, y: 258664426012969094010652733694893533536393512754914660539884262666720468348340822774968888139573360124440321458177field };

// x and y coordiantes corresponding to the `one` group element.
// x and y coordinates corresponding to the `one` group element.
const x: field = 7810607721416582242904415504650443951498042435501746664987470571546413371306field;
const y: field = 1867362672570137759132108893390349941423731440336755218616442213142473202417field;

Expand Down Expand Up @@ -121,7 +121,7 @@ circuit Hangman {
}

//! 555. Now that we are guessing a letter, what do you think the input should be?
//! And the ouput?
//! And the output?
function guess_letter(self, word: [char; 20], const word_length: u32, letter: char) -> Self {
// Assume the guess has been entered correctly, and adjust this assumption if later checks fail
let valid = true;
Expand Down
4 changes: 2 additions & 2 deletions hangman/src/workshop_exercise.leo
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ circuit Hangman {
// The `zero` group element for Edwards BLS12
const digest: Point = Point { x: 0field, y: 258664426012969094010652733694893533536393512754914660539884262666720468348340822774968888139573360124440321458177field };

// x and y coordiantes corresponding to the `one` group element.
// x and y coordinates corresponding to the `one` group element.
const x: field = 7810607721416582242904415504650443951498042435501746664987470571546413371306field;
const y: field = 1867362672570137759132108893390349941423731440336755218616442213142473202417field;

Expand Down Expand Up @@ -122,7 +122,7 @@ circuit Hangman {
}

//! 555. Now that we are guessing a letter, what do you think the input should be?
//! And the ouput?
//! And the output?
function guess_letter() -> {
// Assume the guess has been entered correctly, and adjust this assumption if later checks fail
let valid = true;
Expand Down