Typing Tutor Game

This is a discussion on Typing Tutor Game within the Game Programming forums, part of the General Programming Boards category; I m doing a typing tutor game (a game of text falling form top and need user to type the ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    1

    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
    ...
    ... is offline
    Registered User
    Join Date
    Feb 2002
    Posts
    465
    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
    Posts
    262
    What library is the gotoxy function in?

  4. #4
    Registered User abrege's Avatar
    Join Date
    Nov 2002
    Posts
    369
    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

    Code:
    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 Cprogramming.com
    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, 09:25 PM
  3. Hide or Mask Typing
    By Jperensky in forum C++ Programming
    Replies: 2
    Last Post: 04-12-2002, 01:10 PM
  4. typing with no output
    By rkjd2 in forum C++ Programming
    Replies: 1
    Last Post: 03-16-2002, 04:12 PM

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