GithubHelp home page GithubHelp logo

lxylxy123456 / eec172 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 267 KB

EEC 172 Final Project - Brick Breaker CC

License: GNU Affero General Public License v3.0

TeX 64.47% Makefile 0.07% C 27.16% C++ 4.53% Batchfile 0.74% Python 2.77% Shell 0.27%

eec172's Introduction

EEC 172 Final Project

Brick Breaker CC Eric Li

Repository Structure

  • report.pdf is the final report.
    • LaTeX source: report.tex.
    • Template: IEEEtran.cls.
  • /cc3200/ contains the source code for CC3200.
    • See report.pdf for how to set up the wires etc.
  • main.c contains C version of this project (requires Xlib).
    • pattern.h contains data for initializing patterns.
    • Uses glcdfont.h from Adafruit library to draw texts.
    • Build the executable with make main.out (see Makefile).
  • main.py contains Python version of this project (requires pygame).
  • Video demos on Youtube:

Notes on C and Python Versions

  • Move your mouse horizontally to control the velocity of the tray.
  • SW2 = 2 on keyboard, SW3 = 3 on keyboard.
    • In C version I hardcoded the key code as K_2 = 11 etc. If your keyboard layout is different than mine you may have to change this value.
  • Esc to quit.
  • The C version will read and write /tmp/eec172_max_score.txt to store scores.
  • You can change ZOOM = 5 to make the window bigger or smaller.

Gallery

C version, during game

c17.png

C version, game over

c18.png

C version demo video

5VP_zU0lu0s

Python version, during game

py5.png

CC3200 version video

uDkXkYqYVf0

eec172's People

Contributors

lxylxy123456 avatar

Watchers

 avatar  avatar

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.