Guess my Number game! check it out

This is a discussion on Guess my Number game! check it out within the Game Programming forums, part of the General Programming Boards category; Hello guys please admin don't remove this tread it's my first post and I wanted to share my little game! ...

  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
    Attached Images Attached Images  
    Attached Files Attached Files
    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, 10: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-25-2006, 11:14 PM
  4. writing/reading from file produces double results.
    By stumon in forum C Programming
    Replies: 4
    Last Post: 03-20-2003, 03:01 PM
  5. help with making a basic game
    By Geo-Fry in forum C++ Programming
    Replies: 3
    Last Post: 02-25-2003, 06:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21