Thread: Typing Tutor Game

  1. #1
    Registered User
    Join Date
    Feb 2003

    Question Typing Tutor Game

    I m doing a typing tutor game (a game of text falling form top and need user to type the text or char b4 they fall to ground). I new to this.. so i dun know how to start.
    Do we need to change to graphic mode? how?
    What the structure of the game?
    I dun know about the graphic mode? any one got a good tutorial for it?
    Thanks for helping

  2. #2
    Registered User
    Join Date
    Feb 2002
    with creative use of the gotoxy() function, you can easily create this game in console mode... im not sure if thats what you want to do, but its entirely possible...
    I came up with a cool phrase to put down here, but i forgot it...

  3. #3
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    What library is the gotoxy function in?

  4. #4
    Registered User abrege's Avatar
    Join Date
    Nov 2002
    I think it's in conio.h for most compilers. But if you're like me, and use good ol MSVC, gotoxy won't be included but you could still write your own

    void gotoxy(int x, int y)
         HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
         COORD pos = {x, y};
         SetConsoleCursorPosition(hOut, pos);
    I am against the teaching of evolution in schools. I am also against widespread
    literacy and the refrigeration of food.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Speed in Touch Typing
    By stevesmithx in forum A Brief History of
    Replies: 60
    Last Post: 12-01-2008, 10:01 AM
  2. How to avoid typing std:: (scope resolution operator)
    By Sharan in forum C++ Programming
    Replies: 9
    Last Post: 04-30-2006, 08:25 PM
  3. Hide or Mask Typing
    By Jperensky in forum C++ Programming
    Replies: 2
    Last Post: 04-12-2002, 12:10 PM
  4. typing with no output
    By rkjd2 in forum C++ Programming
    Replies: 1
    Last Post: 03-16-2002, 04:12 PM