Writing Games in Rust

This class is for students years 5+ who are interested in learning to program in Rust - why Rust? , computer and mobile games. This class teaches more advanced programming skill than the Tuesday class with less mathematics and game play.

Classes are held at New Lambton Public Library every Monday from 4:00-5:00 . Initially students will write the Tetris game in Rust to run on a laptop, on a web browser and on a mobile phone. A start date will be announced once the minimum class size of 4 (1 more student required) is reached. The maximum class size is 8.

Requirements

Students will need to bring a laptop with access rights to install Rust and Visual Studio. . I am happy to help install these programs on the first day, provided we can login with administrator access for the installation.

Cost

The cost is $250 per 10 week term. Parents are welcome to attend.

Tetris

Play the Game Now

Tetris is a simple game to play, that includes many key parts of programs and games - keyboard and mobile phone contols, graphics, timing, collision detection and different data structures for storing the game state. A second game using a physics engine is planned to illustrate ways to easily include gravity and other forces.

Outline of course topics

  • Coding in Visual Studio using Language Server Protocol(LSP)
  • Understanding compiler error messages
  • Storing game state using different data structures in Rust.
  • Using graphics libraries
  • Handling keyboard and mobile events
  • Detecting collisions using the data structures
  • Writing programs with timings
  • Compiling Rust code to run on your computer (native), WebAssembly (for a web browser)
  • Writing code to run on a mobile phone

If you have any questions, please leave your contact details .

The maximum class size is 8 students.