From a18347dea5b6ca34e7df9cd4e33504038ec358d1 Mon Sep 17 00:00:00 2001 From: Richard Knoll Date: Wed, 3 Dec 2025 18:42:33 +0000 Subject: [PATCH] move bug arena names/descriptions into code blocks so it can be localized into RTL --- docs/skillmap/bug-arena.md | 99 ++++++++++++++++++++++++++++++-------- 1 file changed, 80 insertions(+), 19 deletions(-) diff --git a/docs/skillmap/bug-arena.md b/docs/skillmap/bug-arena.md index 3886345a967..a4893d9397a 100644 --- a/docs/skillmap/bug-arena.md +++ b/docs/skillmap/bug-arena.md @@ -1,6 +1,4 @@ # Bug Arena -* name: Bug Arena -* description: Code your own bug to think for itself using Artificial Intelligence (AI) and challenge other AI bugs in the Arena! * infoUrl: skillmap/educator-info/bug-arena-info * bannerUrl: /static/skillmap/bug-arena/game.gif * backgroundurl: /static/skillmap/bug-arena/bug-bg.gif @@ -13,6 +11,14 @@ * allowcodecarryover: true * tags: beginner, hour of ai, hour of code +```name +Bug Arena +``` + +```description +Code your own bug to think for itself using Artificial Intelligence (AI) and challenge other AI bugs in the Arena! +``` + ```intro Welcome to the 👾 **Bug Arena** 👾 where the smartest AI bugs battle for glory! Select one of the three paths to code an algorithm for your AI bug to follow: @@ -24,23 +30,30 @@ Select one of the three paths to code an algorithm for your AI bug to follow: ``` ## bug-arena-1 -* name: Arena One * layout: manual +```name +Arena One +``` + ### bug-arena-scribble -* name: Random Algorithm * type: tutorial -* description: Create an AI algorithm that will make your bug walk in random patterns * url: /skillmap/bug-arena/scribble * imageUrl: /static/skillmap/bug-arena/random.gif * tags: beginner, hour of ai, hour of code * next: bug-arena-tower * position: 1 0 +```name +Random Algorithm +``` + +```description +Create an AI algorithm that will make your bug walk in random patterns +``` + ### bug-arena-tower -* name: Tower Battle * type: tutorial -* description: Battle other AI bugs in the Tower and level up with every win! * url: /skillmap/bug-arena/tower * imageUrl: /static/skillmap/bug-arena/tower-battle.gif * allowCodeCarryover: true @@ -48,8 +61,15 @@ Select one of the three paths to code an algorithm for your AI bug to follow: * next: bug-cert * position: 2 0 +```name +Tower Battle +``` + +```description +Battle other AI bugs in the Tower and level up with every win! +``` + ### bug-cert -* name: Congrats! * kind: completion * type: certificate * url: /static/skillmap/certificates/bug-cert.pdf @@ -65,24 +85,36 @@ Select one of the three paths to code an algorithm for your AI bug to follow: * image: /static/badges/badge-bug.png * name: Bug Arena +```name +Congrats! +``` + ## bug-arena-2 * name: Arena Two * layout: manual +```name +Arena Two +``` + ### bug-arena-squares -* name: Squares Algorithm * type: tutorial -* description: Code your AI bug to draw squares around the screen * url: /skillmap/bug-arena/squares * imageUrl: /static/skillmap/bug-arena/squares.gif * tags: beginner, hour of ai, hour of code * next: bug-arena-tower * position: 1 1 +```name +Squares Algorithm +``` + +```description +Code your AI bug to draw squares around the screen +``` + ### bug-arena-tower -* name: Tower Battle * type: tutorial -* description: Battle other AI bugs in the Tower and level up with every win! * url: /skillmap/bug-arena/tower * imageUrl: /static/skillmap/bug-arena/tower-battle.gif * allowCodeCarryover: true @@ -90,8 +122,15 @@ Select one of the three paths to code an algorithm for your AI bug to follow: * next: bug-cert * position: 2 1 +```name +Tower Battle +``` + +```description +Battle other AI bugs in the Tower and level up with every win! +``` + ### bug-cert -* name: Congrats! * kind: completion * type: certificate * url: /static/skillmap/certificates/bug-cert.pdf @@ -107,24 +146,35 @@ Select one of the three paths to code an algorithm for your AI bug to follow: * image: /static/badges/badge-bug.png * name: Bug Arena +```name +Congrats! +``` + ## bug-arena-3 -* name: Arena Three * layout: manual +```name +Arena Three +``` + ### bug-arena-backandforth -* name: Back and Forth Algorithm * type: tutorial -* description: Code your bug's AI algorithm to move back and forth across the screen * url: /skillmap/bug-arena/back-and-forth * imageUrl: /static/skillmap/bug-arena/back-and-forth.gif * tags: beginner, hour of ai, hour of code * next: bug-arena-tower * position: 1 1 +```name +Back and Forth Algorithm +``` + +```description +Code your bug's AI algorithm to move back and forth across the screen +``` + ### bug-arena-tower -* name: Tower Battle * type: tutorial -* description: Battle other AI bugs in the Tower and level up with every win! * url: /skillmap/bug-arena/tower * imageUrl: /static/skillmap/bug-arena/tower-battle.gif * allowCodeCarryover: true @@ -132,8 +182,15 @@ Select one of the three paths to code an algorithm for your AI bug to follow: * next: bug-cert * position: 2 1 +```name +Tower Battle +``` + +```description +Battle other AI bugs in the Tower and level up with every win! +``` + ### bug-cert -* name: Congrats! * kind: completion * type: certificate * url: /static/skillmap/certificates/bug-cert.pdf @@ -148,3 +205,7 @@ Select one of the three paths to code an algorithm for your AI bug to follow: * completion-badge: * image: /static/badges/badge-bug.png * name: Bug Arena + +```name +Congrats! +``` \ No newline at end of file