Learning to use Claude Code to learn (how to code), not to code!

Game-based Learning

#learning #digital #gaming

You see what I mean? No? That’s because names can be misleading…

The tool is called “Claude Code”, but it can be used for more than just coding: for structuring a learning process, for example. And one example of learning is learning… how to code 😊

Let me explain.

I read the Génération IA newsletter ( Benoit Raphael ) : “My guide to turning Claude Code into a do-it-all AI agent” (https://generationia.flint.media/p/mon-guide-pour-faire-de-claude-code-un-agent-ia-tout-faire-openclaw-cowork-anthropic)

I watched Eliott Meunier’s video: “The mistake everyone makes when learning with AI” (https://www.youtube.com/watch?v=Y_qqLO–XCM)

And I thought I could test this tutor role by applying it to my own learning of Rust / Fyrox

So:

  • I checked that I already had VS Code installed (otherwise: https://code.visualstudio.com/ ). This corresponds to Option 2 in the Génération IA newsletter (note: I’m on Windows).
  • I installed the Claude Code extension and connected it to my Claude Pro account.
  • As it kindly asked me:
    “Git is required for local sessions. Download Git for Windows, or set the environment variable CLAUDE_CODE_GIT_BASH_PATH to your git executable, then restart the application.”
    I installed Git for Windows (https://git-scm.com/install/windows) and set the environment variable in the terminal (admin mode):
setx CLAUDE_CODE_GIT_BASH_PATH "C:\Program Files\Git\bin\bash.exe"
  • I closed VS Code and reopened it: setup complete! 😊

Alright, that wasn’t too technical… Let’s see what it can actually bring me!

On my hard drive, I create a folder _ClaudeProjects, then a folder ApprendreRust (C:\_ClaudeProjects\ApprendreRust), and I fill it with a Markdown version of my 6 LinkedIn articles about Rust.

In VS Code, I open the ApprendreRust folder on the left and Claude Code on the right (by clicking the Claude icon in the top right), then I ask it:
“Can you explore my files and tell me what you find?”
(yes, I’m a well-behaved student, I follow exactly the steps suggested by Génération IA 😊).

In VS Code: the folder with files on the left, a file preview in the middle, and the Claude Code chat on the right.

Still being a serious student, I then ask:

  • “Create a note that synthesizes all the files” → it creates, with my validation, SYNTHESE_Apprendre_Rust.md
  • then “Create a CLAUDE.md file at the root of the folder to explain the state of this project”
  • then “What do you suggest I do to resume this learning?”

My first reactions:

  • The idea of an agent doing things by itself on my computer didn’t really appeal to me… For now, it asked me to validate every action before performing it, which was rather reassuring 😌
  • I had only put in 6 files, and I found it took quite a while to read them… ⌛
  • …but I was surprised by its “summary” of more than 300 lines!
    It obviously included many elements from each article, but it also extracted:
    • “Lessons learned”
    • “Recommendations for other learners”
    • A “Timeline of progression”
    • “Useful links”

The CLAUDE.md file also surprised me by how exhaustive it was; I’ll see later how useful it is for keeping the memory of the learning project’s progress.

Finally, its suggestions for resuming the learning are quite relevant:
a 4-week plan, clarifying questions, links to resources, exercise proposals…
You really see the “tutor” role that AI can take on when given the right input!

Some excerpts from the synthesis:

# 📚 SYNTHÈSE : Apprendre Rust en créant un jeu

> Journal d'apprentissage d'octobre 2023 à mars 2024

## 🎯 Objectif du projet

Apprendre le langage de programmation **Rust** de manière ludique et motivante en créant un jeu vidéo, plutôt qu'en suivant des tutoriels théoriques traditionnels.

---
## 🎓 Leçons apprises

### 1. L'apprentissage par projet est motivant
- Fournit un **objectif concret** et gratifiant
- Génère de la **satisfaction à chaque étape**
- Donne **envie d'approfondir** les bases ensuite

### 2. La compréhension reste essentielle
- Suivre des tutoriels "pas à pas" permet d'avancer
- Mais la **compréhension profonde** est nécessaire pour :
  - Résoudre les problèmes
  - Adapter le code
  - Créer de manière autonome

### 3. Équilibre pratique/théorie optimal
1. **Commencer par la pratique** → motivation
2. **Revenir à la théorie** → compréhension
3. **Alterner** selon les besoins

### 4. La documentation interactive est précieuse
- Quiz et exercices interactifs (Rust Book de Brown)
- Plateformes gamifiées (CodinGame, Exercism)
- Tutoriels avec projets concrets

---
## 📝 Notes finales

Ce journal documente un parcours d'apprentissage **réaliste et honnête**, montrant :
- Les succès et la satisfaction des étapes franchies ✅
- Les difficultés et frustrations rencontrées ❌
- L'évolution de la stratégie d'apprentissage 📈
- L'importance de la motivation par le projet 🎯

**Message clé** : Apprendre en s'amusant, c'est possible et efficace, mais il faut accepter d'alterner entre pratique ludique et apprentissage des fondamentaux.

---

which translates to : 

# 📚 SUMMARY: Learning Rust by creating a game

> Learning journal from October 2023 to March 2024

🎯 Project objective

To learn the Rust programming language in a playful and motivating way by creating a video game, rather than following traditional theoretical tutorials.

🎓 Lessons learned

1. Project-based learning is motivating

  • Provides a concrete and rewarding goal
  • Generates satisfaction at every step
  • Creates the desire to deepen the fundamentals afterward

2. Understanding remains essential

  • Step-by-step tutorials help you move forward
  • But deep understanding is necessary to:
    • Solve problems
    • Adapt code
    • Create autonomously

3. An optimal practice/theory balance

  • Start with practice → motivation
  • Return to theory → understanding
  • Alternate as needed

4. Interactive documentation is valuable

  • Interactive quizzes and exercises (Brown Rust Book)
  • Gamified platforms (CodinGame, Exercism)
  • Tutorials with concrete projects

📝 Final notes

This journal documents a realistic and honest learning journey, showing:

  • Successes and satisfaction from milestones reached ✅
  • Difficulties and frustrations encountered ❌
  • Evolution of the learning strategy 📈
  • The importance of project-based motivation 🎯

Key message: Learning while having fun is possible and effective, but you must accept alternating between playful practice and learning the fundamentals.

Claude’s description of the created CLAUDE.md file:

Claude’s explanation of the created CLAUDE.md file

And a few excerpts from the proposed next steps:

🎁 Bonus : Ressources 2026

Depuis votre pause, l’écosystème Rust a évolué :

  • Bevy 0.15+ est devenu LE framework de référence (plus mature qu’en 2023)
  • Exercism a ajouté beaucoup d’exercices Rust
  • Google propose maintenant des cours Rust gratuits
  • Fyrox existe toujours mais moins populaire que Bevy

⚡ Mon conseil : Commencez DEMAIN !

Action immédiate (30 min) :

  1. Ouvrir le terminal
  2. Taper : rustup update puis rustc –version
  3. Créer un nouveau projet : cargo new hello_rust
  4. Compiler et lancer : cd hello_rust && cargo run

Si ça fonctionne → 🎉 Vous êtes prêt !

Si ça bloque → Je vous aide à réparer l’environnement

which translates to : 

🎁 Bonus: 2026 Resources
Since your break, the Rust ecosystem has evolved:

  • Bevy 0.15+ has become the reference framework (more mature than in 2023)
  • Exercism has added many Rust exercises
  • Google now offers free Rust courses
  • Fyrox still exists but is less popular than Bevy

My advice: Start TOMORROW!
Immediate action (30 min):

  • Open the terminal
  • Type: rustup update then rustc –version
  • Create a new project: cargo new hello_rust
  • Compile and run: cd hello_rust && cargo run

If it works → 🎉 You’re ready!
If it breaks → I’ll help you fix the environment

In conclusion

A fairly simple onboarding and some really interesting results!

Next, I’m going to explore using a progress.md file and integrating with Anki to generate flashcards, as described by Eliott Meunier in his video.

And you — have you tried being tutored by Claude Code to (finally) study that topic that’s been nagging at you for ages?

PS: the 6 Rust articles used in this exercise (the French version was used):

  1. https://www.linkedin.com/pulse/apprendre-rust-en-samusant-valerie-brasse/ (en: Learning RUST… while having fun?)
  2. https://www.linkedin.com/pulse/apprendre-rust-en-cr%C3%A9ant-un-jeu-valerie-brasse/ (en: Learning Rust… by creating a game?)
  3. https://www.linkedin.com/pulse/fyrox-cr%C3%A9ons-un-jeu-etape-1-installation-de-l%C3%A9diteur-valerie-brasse-in8we/ (en: Fyrox: let’s create a game! Step 1 – Installing the editor)
  4. https://www.linkedin.com/pulse/fyrox-cr%C3%A9ons-un-jeu-etape-2-le-tuto-du-platformer-valerie-brasse-xuhxc/ (en: Fyrox: let’s create a game! Step 2 – Platformer Tutorial)
  5. https://www.linkedin.com/pulse/cr%C3%A9er-un-jeu-avec-rust-et-fyrox-sans-rien-y-conna%C3%AEtre-valerie-brasse-6mr8e/ (en: Creating a game with Rust and Fyrox without any prior knowledge?)
  6. https://www.linkedin.com/pulse/rust-hello-world-et-autres-d%C3%A9fis-valerie-brasse-8odfe/ (en: Rust, « Hello World! » and other challenges)

#learning #digital #gaming

No responses yet

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *