- Level Beginner
- Duration 3 hours
- Course by Coursera Project Network
-
Offered by
About
In this 2-hour long project-based course, we will focus on handling API responses fetched from a given RPC URL. Then we are going to build a target proximity game which can act as a foundation layer for big projects like optimizing delivery time for a food delivery app like Zomato. Throughout the course, we will guide you through every step of creating the game, from user workflow and architecture diagrams to coding intricacies like creating custom data type and generic input function. Finally, we will put everything together to build the finished game. You can use this project as a template to create your own game, making this an excellent starting point for learning Rust and game development. This course is designed for learners interested in learning the Rust language and building a game. While there are no strict prerequisites, having some programming experience will be beneficial. If you are a beginner, you may find this course challenging, but don't be discouraged. Embrace the challenge and ask questions when you need help – we are here to support you.Modules
Your Learning Journey
1
Assignment
- Assess Your Knowledge
14
Videos
- Introduction & Installation
- Define Player's Custom Type
- Define & Implement Printable trait for player struct
- Define Generic input function and collect players
- Practice Activity: Generic function to find max. number out of a list of any type
- Generate random target using `rand` crate
- Generate random target using external API
- Add dotenv library
- Practice Activity: Get Bitcoin Price
- Collect players’ guesses into target proximities
- Create the play function to start the game
- Tests module for the game
- Practice Activity: Test if the winner is correctly declared from given players proximity list
- Cumulative Activity
1
Readings
- Project Overview
Auto Summary
Dive into "Rust for Beginners: Building Target Proximity Game" and master Rust programming through a hands-on project. In this 2-hour course, you'll learn to handle API responses and create a target proximity game, a perfect foundation for larger projects. Ideal for beginners with some programming experience, this course offers step-by-step guidance, from architecture to coding. Join now for free on Coursera and kickstart your game development journey with Rust!

Instructor
Abhijit Roy