/2-cars-activity

An arcade game for Sugar XOs

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

What is this?

2 Cars is an arcade game for the Sugar desktop.

How to use?

2 Cars is part of the Sugar desktop. Please refer to;

How to upgrade?

On Sugar desktop systems;

How to run?

2 Cars depends on Python, PyGTK and PyGame.

2 Cars is started by Sugar.

2 Cars is not packaged by Debian, Ubuntu and Fedora distributions.
On Ubuntu and Debian systems these required dependencies (python-gtk2-dev and python-pygame) need to be manually installed. On Fedora system these dependencies (pygtk2 and pygame) need to be manually installed.

Running outside Sugar

  • Install the dependencies -

On Debian and Ubuntu systems;

sudo apt install python-gtk2-dev python-pygame

On Fedora systems;

sudo dnf install pygtk2 pygame
  • Clone the repo and run-
git clone https://github.com/sugarlabs/2-cars-activity.git
cd 2-cars-activity
python main.py

Running inside Sugar

  • Open Terminal activity and change to the 2 Cars activity directory
cd activities\2Cars.activity
  • To run
sugar-activity .