lxylxy123456 / eec172

EEC 172 Final Project - Brick Breaker CC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

EEC 172 Final Project - Brick Breaker CC

License:GNU Affero General Public License v3.0


Languages

Language:TeX 64.5%Language:C 27.2%Language:C++ 4.5%Language:Python 2.8%Language:Batchfile 0.7%Language:Shell 0.3%Language:Makefile 0.1%