kylelin12 / dogs-ate-our-homework

0 stars 2 forks source link

dogs-ate-our-homework

Jeffrey Weng - Kyle Lin - Khinshan Khan

Period 10


Description

A tetris game built using C and SDL. The goal is to get the most points you can before time runs out or you reach the top of the map.


How to run

  1. Install all libraries
  2. Navigate to ./sdl_tests/sdlUbuntu/
  3. run make
  4. run ./game
  5. Left/Right arrow key for movement. J/K for rotation.

SDL Installation + Libraries

Ubuntu


Bugs

  1. Gravity works uniform on all pieces of the tetrimo rather than on the tetrimo
  2. Sometimes the last row clearing gets disabled (re-enabled after clearing more rows)
  3. Blocks can sort of phase throught the bottom if you move them alot on the last row (left and right)
  4. Rotating fast enough might cause temporary suspension (gravity will work as soon as you fail to be at that speed)

How to use log.sh

  1. Open the terminal
  2. Navigate to the root folder containing log.sh
  3. Run ./log.sh "<lastF>" "<devmsg>"