Thread: Tetris for 32-bit console

  1. #1
    Registered User
    Join Date
    Mar 2012
    Location
    the c - side
    Posts
    373

    Tetris for 32-bit console

    Just finished some of my first games and thought I'd post at least one rather than have them all gathering dust on the hard drive.


    Tetris.zip

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Quote Originally Posted by gemera View Post
    Just finished some of my first games and thought I'd post at least one rather than have them all gathering dust on the hard drive.


    Tetris.zip
    What - no source code?
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Tetris
    By JuJu9911 in forum C Programming
    Replies: 3
    Last Post: 05-23-2013, 04:20 AM
  2. Tetris
    By estoyperdida in forum C Programming
    Replies: 8
    Last Post: 01-30-2008, 01:02 PM
  3. Tetris...
    By Stan100 in forum Game Programming
    Replies: 5
    Last Post: 02-21-2003, 04:40 PM
  4. Tetris Help
    By Quantrizi in forum Game Programming
    Replies: 24
    Last Post: 06-16-2002, 05:24 PM
  5. tetris help
    By Unregistered in forum Game Programming
    Replies: 1
    Last Post: 09-01-2001, 12:38 PM