hackquest logo
 

Bulls and Cows in Rust

In this course, our main objectives are: 1. Understanding the basic usage of Cargo 2. Writing the Bulls and Cows project in Rust

Language

Rust

Total Length

1.5h

Part of Learning Track

Build on Solana + 1

What You’ll Learn

Writing a project to implement the logic of Bulls and Cows in Rust How to configure the project in Rust Playground, and run debugging
Random

Syllabus

Uint 0 - Course Intro

Introduction to the Guessing Game in Rust

Unit 1 - Implementing Bulls and Cows in Rust(1)

In this chapter, we will implement Bulls and Cows using native Rust.

Unit 2 - Implementing Bulls and Cows in Rust(2)

This chapter explains how to specifically use dependency libraries in the Rust language to implement functionalities for generating random numbers and capturing user input.

Unit 3 - Implementing Bulls and Cows in Rust(3)

In this chapter, we will process the user's input data and complete the logic for comparing it with the correct value.

Unit 4 - Interaction

This chapter will focus on learning how to run the program and experiencing the player interaction process.