Carcode

Learn Python programming using an animated car.
Download

Carcode Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Carlos Daniel Ruvalcaba Valenzuela
  • Publisher web site:

Carcode Tags


Carcode Description

Learn Python programming using an animated car. Carcode an experimental program that allows you to learn Python programming using an animate car. The idea is to give beginning programmers carcode, which provides an animated car they can drive around the screen either using the keyboard, or programmatically through a simple API.By working on a series of problems (such as "park the car in parking space A"), beginners learn to program in an engaging, and goal-driven environment they already have much familiarity with.Running CarcodeRun the carcode script file, from the shell this can be done with the following command: python carcode.py Carcode GUI gives you dialogs to load levels and scripts, but we also offer command line options to do just that too. You can tell carcode to load a give level file with the option -l, as shown in the example we load a file under the demo directory: python carcode.py -l demos/level1.pyYou can set a script to handle the car logic with the option -s, as show in the example: python carcode.py -s mylogic.pyA full example of loading a level and logic: python carcode.py -l demos/level1.py -s mylogic.pyLengthy car scripts or with tight loops can degrade overall performance. Requirements: · Python · pygame · PyOpenGL


Carcode Related Software