Thread: Did it Atlast....

  1. #16
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    I really like the game. Never used DOS graphics in my life, didn't realize that was possible. Good work.
    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;
    }

  2. #17
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Hi,
    Thank you.... I have now added one more feature to my game... The defeated pawns are shrunk and displayed on the right side of the screen........... Well and now i have a better interface.. will be posting it after removing some bugging bugs....

    Well i would appreciate if you guys gave me more ideas... And is it fine if i post the source here.(1400 lines..) do you guys have time to help me improve the coding structure....

    Thanx in advance
    Vasanth

  3. #18
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    The game is nice, but I think you should do two things:
    1- Let the player know what piece is selected.
    2- Make both the selection and the movment with the left mouse click.

    Good Job...
    none...

  4. #19
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Added that feature and made the mouse interface drag adn drop..

    I am planning to add an undo button to undo moves.. Any number of moves should be undone till the starting point is reached.. I was planing to use double linked list for this.. by keeping track of the changes in each node where each node represents a move.. Is there a better way of doing it... WHat do you think of using a file to store the moves instead of a list..

  5. #20
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    Why don't you attach the game after the modification...
    I would like to see it
    none...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Scope of Pointer Variables
    By vlrk in forum C Programming
    Replies: 12
    Last Post: 03-25-2008, 05:55 AM