Thread: Guess my Number game! check it out

  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    1

    Talking Guess my Number game! check it out

    Hello guys please admin don't remove this tread it's my first post and I wanted to share my little game! this is a guess game as you can see the picture below attached the source downside used Visual C++ 2005 to compile the code, the game is simple there is a number between 1-99 that should be guessed, I used C but the source extension is cpp because i have faced a compiling trouble with Visual C++ 8 and I don't know why it didn't compile when I have changed the extension to c rather than cpp.



    features: when the player type a guess more or less than the number by 10
    there will be hint tells him how far he is from the right guess, pretty simple
    examine the source and tell me if you think something could have been done
    in a better way, good luck

    OS: Windows Vista Ultimate x64 (Doesn't matter just use 32bit XP or Vista)
    Compiler: Visual C++ 2005 SP1
    Library: no graphics library
    Description: Number Guessing Game
    Last edited by Yosif; 06-10-2007 at 12:06 AM.

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    cool! I had to change scanf_s to scanf though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. allegro issues
    By mramazing in forum C++ Programming
    Replies: 1
    Last Post: 01-07-2009, 11:56 PM
  2. Number Guessing
    By blacknapalm in forum C Programming
    Replies: 2
    Last Post: 10-01-2008, 01:48 AM
  3. Game Engine Link Prob
    By swgh in forum Game Programming
    Replies: 2
    Last Post: 01-26-2006, 12:14 AM
  4. writing/reading from file produces double results.
    By stumon in forum C Programming
    Replies: 4
    Last Post: 03-20-2003, 04:01 PM
  5. help with making a basic game
    By Geo-Fry in forum C++ Programming
    Replies: 3
    Last Post: 02-25-2003, 07:35 PM