Code Monkey home page Code Monkey logo

tetrisclone's Introduction

Tetris Clone (Incomplete)

Creating a Tetris clone in C to practice C programming and learn more about Raylib (awesome library btw!).

For this project I am attempting to limit myself to ANSI C standards.

Description

This game is a clone of the popular game Tetris. This clone features what you would expect from a simplistic version of Tetris, namely: falling blocks, which upon completion of a row disappear, score keeping and levels with incremental difficulty.

Here are some early screenshots of my progress:

gameplay gameover

There are also quite a few features left to implement:

  • Ongoing code style enhancements (relatively new to C)
  • Re-Implement rotation algorithm; my original algorithm was extremely buggy
    • Fix buggy S and T tetromino rotation
  • Empty rows that are full should "break"
  • Broken rows should cause other rows to shift down without losing ordering
  • scoring system
  • display upcoming block
  • introduce levels and increasing speed/score multiplier

Getting Started

Dependencies

  • Raylib - check out this repo for instructions on how to install
  • Make - build automation tool

Installing

  • Download and extract zip of this repo or clone the repository using:
git clone https://github.com/jlanders2/TetrisClone

Executing program

  • Open terminal/command prompt and navigate to where you downloaded the repo
  • execute the following commands from the TetrisClone folder
cd src/
make
./tetris-clone

Authors

Contributors names and contact info

John Landers [email protected]

Version History

Unreleased

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

Inspiration, code snippets, etc.

tetrisclone's People

Contributors

jlanders2 avatar

Watchers

 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.