1. RUR-PLE Installation and Setup
RUR-PLE is an educational programming environment used to program a virtual robot 'RUR' using Python. Installation is straightforward.
1.1. Downloading and Installing RUR-PLE
Download the RUR-PLE installer from the official SourceForge page. Choose the version appropriate for your operating system.
https://sourceforge.net/projects/rur-ple/files/
After downloading, run the installer and follow the on-screen instructions to complete the installation.
1.2. Exploring the RUR-PLE Environment
Once RUR-PLE is launched, you will see three main windows:
- Editor: Where you write your Python code.
- World: Displays the virtual space where the RUR robot moves.
- Console: Shows program output and error messages.
As a simple example, type the following code into the editor and press the 'Run' button.
# robot_example.py
# Moves RUR robot forward one step.
move()
You will see the RUR robot move one step forward. This is the basic operation of RUR-PLE.