Skip to content

Feedback on Sudoku tutorial chapters 1-6 #164

@bvssvni

Description

@bvssvni

Chapter 1

  • Fixed wording

Chapter 2

  • Fixed wording

Chapter 3

  • Fixed wording

Chapter 4

  • "Set up objects and handle like this:" => "Set up objects and handle events:"
  • "gameboard_view.draw(&gameboard_controller.gameboard, &c, g);" => "gameboard_view.draw(&gameboard_controller, &c, g);" 2 places

Chapter 5

  • "if x >= 0.0 && x <= size && y >= 0.0 && y <= size {" => "if x >= 0.0 && x < size && y >= 0.0 && y < size {" This is a bug. Need to update code. Check the other chapters.

Chapter 6

  • "use graphics::character::CharacterCache;" Lack Rust syntax highlighting.
  • "import Transformed" => "import the trait Transformed" Add after code "The trait constraint CharacterCache<Texture = G::Texture>" makes sure that the texture type matches the type used by the graphics backend."
  • After code for drawing characters, add "let ch_y = pos[1] - character.top(); has a negative sign because the y-axis in font coordinates points upwards while the y-axis in drawing coordinates points downwards."

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions