Writing Games in Rust
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
Cost
Tetris

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.