Thread: My Maze Game --- A Few Questions

  1. #16
    Code:
    int getch();
    is also available.

    Using the numpad is a good choice for movement keys, as all eight directions as well as the center can be implemented, and maybe even special implementations for the other eight buttons on there.
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  2. #17
    Registered User
    Join Date
    Dec 2001
    Posts
    479
    lol whats getche

  3. #18
    getche() gets one key and returns the int that corresponds to it.

    it only gets one, and doesn't wait for the user to hit enter like getch()
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  4. #19
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    In DevC++, if you don't include the conio header file, getch(); doesn' wait for the return key as well. But when i include conio.c, it waits for the return key. How strange!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Open-source Game Project
    By Glorfindel in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 03-24-2009, 01:12 AM
  2. A few questions on game programming
    By mramazing in forum Game Programming
    Replies: 7
    Last Post: 01-11-2009, 04:48 AM
  3. 20q game problems
    By Nexus-ZERO in forum C Programming
    Replies: 24
    Last Post: 12-17-2008, 04:48 PM
  4. 2D Game project requires extra C++ programmers, new or experienced
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 05-16-2007, 10:46 AM
  5. Someone help me with this game??
    By stehigs321 in forum Game Programming
    Replies: 15
    Last Post: 10-30-2003, 08:42 PM