Code a Connect 4 Game in Rust | 0 Dependencies Tutorial 🟡🔴
Ғылым және технология
Learn how Rust can help us write command line applications by creating a simple version of Connect 4 - with no dependencies!
⏰ Timestamps
00:00 - Intro
00:30 - Project Setup
01:15 - Defining Basic Data Structures
04:11 - Setting Up the Initial Game State
06:32 - Board Display Functionality
11:11 - Gameplay Mechanics
14:32 - Error Handling
19:35 - Winner Calculation Logic
27:40 - Getting User Inputs
32:00 - Handling Multiple Games
35:03 - Playing the Game
35:29 - Outro
📜 Description
I recently took on the challenge of learning Rust and, in a bid to take my own advice, I am trying to consolidate my learning by get my hands dirty and using it in personal projects. Connect 4 is a great challenge - simple enough to be coded in one afternoon, but complex enough that it takes some thought to do well.
#rust #programming #coding #gamedev
📝 Article
For a written version of this tutorial, check out my article on Medium: levelup.gitconnected.com/lear...
🔗 Links
• Rust: www.rust-lang.org/tools/install
• Final Result: play.rust-lang.org/?version=s...
Пікірлер: 2
it was really well documented with full resources. enjoyed it and learned from it!
Learned something new thanks