Skip to content
CodePixel-exePublic

About

A game I developed for a college project on a past course where you control a car from a top down perspective, avoid pedestrians, collect coins and get the highest score possible.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

33 Commits

Folders and files

Repository files navigation

Crosser

A college project I had developed on a college course. The game makes use of Python and the Pygame module library. The game drops you in as a car with a top down perspective where you have to control where your car goes, and avoid hitting pedestrians which would result in an instant game over. The main objective of the game is an endless vertical scroller with the intent of getting as high of a score as possible which can be achieved by collecting coins and making a successful move by not hitting any pedestrians.

Menu

Screenshot 2025-05-29 110259

Gameplay

image

Game Over

If the car hits a pedestrian, game over. Player can also quit to main menu and press enter to try again. image

Instructions for use (executable file only):

Download the crosser.exe file and move the file to desktop.

(You can find the download for the .exe in the releases section of the repo: https://github.com/CodePixel-exe/Crosser/releases/latest)

Once downloaded, double click to run.

Note

Instructions for use (IDE only):

IMPORTANT: To use this in an IDE you must make sure to check if you have pip installed to the latest version by using pip --version in a command prompt or terminal in your chosen IDE.

Ensure you also have the latest version of Python installed, you can check this with python --version if not then install python from python.org and download the latest version of python and add python to the PATH when on the installer.

Should you not have pip installed to the latest version ensure you install pip to the latest version by running: pip install --upgrade pip

If you do not have pygame installed, use pip install pygame-ce in in command prompt or the IDE terminal to install the package to use in python. Doing this will install the community edition of pygame.

Once done, you should be able to run the game by running the menu.py file in the program which will then start the game.

How to play: UP arrow key - move forward LEFT arrow key - move left Right Arrow Key - move right

You can also find more about how to play the game on the main menu by selecting on the main menu; options > tutorial > controls. This will allow you you to view the main objective of the game and how you move.

About

A game I developed for a college project on a past course where you control a car from a top down perspective, avoid pedestrians, collect coins and get the highest score possible.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages