diff --git a/sets/mindstorms/robot-inventor/tricky/README.md b/sets/mindstorms/robot-inventor/tricky/README.md deleted file mode 100644 index 69630f5..0000000 --- a/sets/mindstorms/robot-inventor/tricky/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Example LEGO® MINDSTORMS® Robot Inventor programs for Tricky - -These programs require Pybricks v3.0 firmware installed on the Inventor Hub. - -Building instructions can be found at https://www.lego.com/en-us/service/buildinginstructions/51515. - -The playing instructions for each robot variant are in the docstrings of the corresponding file. diff --git a/sets/mindstorms/robot-inventor/tricky/index.md b/sets/mindstorms/robot-inventor/tricky/index.md new file mode 100644 index 0000000..976cbfa --- /dev/null +++ b/sets/mindstorms/robot-inventor/tricky/index.md @@ -0,0 +1,34 @@ +--- +title: "LEGO® MINDSTORMS® Robot Inventor: Tricky" +maintainer: + user: "TheVinhLuong102" + name: "The Lương-Phạm Family" +image: + local: "tricky.jpeg" + credit: "LEGO" +video: + youtube: "5Fa4m1XzlCA" +description: + "The sporty bot is the ultimate athlete. Code it to complete the perfect slam dunk or master a plethora of robot sports: basketball, bowling or soccer – the list goes on and on." +building_instructions: + external: https://www.lego.com/cdn/product-assets/product.bi.additional.main.pdf/51515_Tricky.pdf +--- + + +These programs require Pybricks v3.0 firmware installed on the Inventor Hub. + +The playing instructions for each robot variant are in the docstrings of the corresponding file. + +The code for Tricky's basic dance is in `tricky-basic.py` as follows: + +{% include copy-code.html %} +```python +{% include_relative tricky-basic.py %} +``` + +The code for Tricky Playing Soccer is in `tricky-playing-soccer.py` as follows: + +{% include copy-code.html %} +```python +{% include_relative tricky-playing-soccer.py %} +``` diff --git a/sets/mindstorms/robot-inventor/tricky/tricky_basic.py b/sets/mindstorms/robot-inventor/tricky/tricky-basic.py similarity index 100% rename from sets/mindstorms/robot-inventor/tricky/tricky_basic.py rename to sets/mindstorms/robot-inventor/tricky/tricky-basic.py diff --git a/sets/mindstorms/robot-inventor/tricky/tricky_playing_soccer.py b/sets/mindstorms/robot-inventor/tricky/tricky-playing-soccer.py similarity index 100% rename from sets/mindstorms/robot-inventor/tricky/tricky_playing_soccer.py rename to sets/mindstorms/robot-inventor/tricky/tricky-playing-soccer.py diff --git a/sets/mindstorms/robot-inventor/tricky/tricky.jpeg b/sets/mindstorms/robot-inventor/tricky/tricky.jpeg new file mode 100644 index 0000000..7a833f2 Binary files /dev/null and b/sets/mindstorms/robot-inventor/tricky/tricky.jpeg differ