Skip to content

Programming with Classes (CSE 210): Assignment Week 07

Notifications You must be signed in to change notification settings

HerreraAxelBYU/cse210-04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Greed Game

Greed is a game in which the player seeks to gather as many falling gems as possible. The game continues as long as the player wants more!

Rules

Greed is played according to the following rules.

  • Gems (*) and rocks (o) randomly appear and fall from the top of the screen.
  • The player (#) can move left or right along the bottom of the screen.
  • If the player touches a gem they earn a point.
  • If the player touches a rock they lose a point.
  • Gems and rocks are removed when the player touches them.
  • The game continues until the player closes the window.

Getting Started


Make sure you have Python 3.8.0 or newer and Raylib Python CFFI 3.7 installed and running on your machine. You can install Raylib Python CFFI by opening a terminal and running the following command.

python3 -m pip install raylib

After you've installed the required libraries, open a terminal and browse to the project's root folder. Start the program by running the following command.```

python3 rfk

You can also run the program from an IDE like Visual Studio Code. Start your IDE and open the 
project folder. Select the main module inside the hunter folder and click the "run" icon.

## Project Structure
---
The project files and folders are organized as follows:

root (project root folder) +-- greed (source code for game) +-- game (specific game classes) +-- main.py (entry point for program) +-- README.md (general info)


## Required Technologies
---
* Python 3.8.0
* Raylib Python CFFI 3.7

## Authors
--- Herrera Axel
--- Jordan Eldredge, jordanmeldredge@gmail.com
--- Jonathan Troche
--- Igor
--- Promise
* # TODO: Add your name and email here

Releases

No releases published

Packages

No packages published

Languages