From f08c7bfd6d3631d75083b8d14fb2c427be7b2a9d Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 30 Sep 2015 11:54:55 +0200 Subject: Add the first robot problem --- robot/problems/introduction/forward/en.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 robot/problems/introduction/forward/en.py (limited to 'robot/problems/introduction/forward/en.py') diff --git a/robot/problems/introduction/forward/en.py b/robot/problems/introduction/forward/en.py new file mode 100644 index 0000000..d943867 --- /dev/null +++ b/robot/problems/introduction/forward/en.py @@ -0,0 +1,24 @@ +# coding=utf-8 + +id = 202 +name = 'Forward' +slug = 'Forward' + +description = '''\ +

Robot should drive forward in a straight line and stop after three +seconds.

+''' + +plan = [] + +hint = { + 'ev3dev': '''\ +

To work with the robot you should import the ev3dev module: +from ev3dev import *.

+''', + + 'mindWidgets': '''\ +

To work with the robot you should import the mindstorms_widgets module: +from mindstorms_widgets import mindstorms_widgets.

+''', +} -- cgit v1.2.1