Coder Social home page Coder Social logo

cuby's Introduction

Cuby

About:

Cuby is a game in where you, a cube, must defeat all the evil circles by slamming on top of them and crushing them. This game was created for my Introduction to Computer Programming class. THERE WILL BE BUGS.

Installation:

Macs

Install Homebrew by using terminal, copy and paste the command from the Homebrew website into terminal. Then, run brew install python then python3 -m pip install pygame pathlib. Then clone or download this repo as a zip (using the green button at the top). If you download the zip, unzip it, then type cd (note the trailing space), then drag and drop your unzipped folder onto terminal from Finder, then run python3 ..

Windows

Compiled exe files will be found under the 'releases' tab in GitHub. Unzip the folder and run Cuby.exe. You may need to download and install Microsoft's Visual C++. It can also be run directly from the command line by downloading the source using Python 3. Running it from the command line provides additional command line arguments, -v or --verbose prints verbose output. -d or --debug enables debug keys (found below). -f or --show-fps shows the current game fps in the top-left corner of the screen. -l <level> or --level <level> forces the game to start from a specific level. --no-ai starts the game and does not enable enemy AI (It can be enabled using debug keys). --no-audio does not enable audio. --unlock-all unlocks all of the levels and does not require you to beat each level. You will need these modules if you run it using Python:

  • Pygame
  • Pathlib

If you want to compile it from source you will need to install py2exe for Python 2.7. Depending on your Python installation, you may need to download the unofficial version from here.

Controls:

  • W or UP or SPACE: Jump
  • A or LEFT: Move left
  • D or RIGHT: Move right
  • L/R SHIFT: Slam
  • Escape: Quit/return

Debug keys:

  • o: Enable rendering checking
  • p: Disable rendering checking
  • MINUS: Disable enemy AI
  • EQUALS: Enable enemy AI

cuby's People

Contributors

arkinsolomon avatar

Watchers

James Cloos avatar  avatar

Forkers

xiron2bar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.