Game server for use in connection with a messenger server
A game and messenger client-server system is provided including a plurality of game clients, a game server, a plurality of messenger clients, and a messenger server. The game server includes logic to operate a multiplayer game using inputs from and outputs to an active game set of game clients, wherein game clients other than those in the active game set can join an active game by supplying the game server with a reference to the active game. Additionally, logic is included for coupling a game client to a messenger client to allow the game client to send the messenger client data used to initiate joining a game, whereby a message sent by the messenger client includes the data used to initiate joining a game. Also, logic is included for initiating a join of a game at an invitee client, using data received in a message to the invitee.
Latest Yahoo Patents:
- Terminal apparatus, terminal control method, and non-transitory computer readable storage medium
- Information processing apparatus, distribution apparatus, playback method, and non-transitory computer readable storage medium
- Calculation device, calculation method, and recording medium
- DETERMINATION DEVICE THROUGH CLUSTERING ANALYSIS OF POSITION HISTORY DATA, METHOD, AND NON-TRANSITORY COMPUTER READABLE STORAGE MEDIUM
- Providing device, terminal device, providing method, non-transitory computer readable storage medium, and authentication processing system
CROSS-REFERENCES TO RELATED APPLICATIONS
The present application claims the benefit of priority from U.S. Provisional Patent Application Ser. No. 60/215,710, filed on Jul. 3, 2000, which is hereby incorporated by reference as if set forth in full in this document for all purposes.
FIELD OF THE INVENTION
The present invention relates to the use of a game server in connection with a messenger server in a multi-user networked computing environment.
BACKGROUND OF THE INVENTION
With the advent of the global inter-network of networks generally referred to as “the Internet,” communication between users connected to the Internet has been facilitated by programs such as email and instant messaging. Instant messaging allows users connected to the Internet to communicate between each other in real-time. Typically, a first user downloads an instant message program into their Internet connectable computing device that can invoke a window that includes a section for typing messages and for showing a list of other online users designated as “buddies” or as “friends” by the first user. Users can chat with any number of online buddies by selecting the desired users from their buddy list. A connection is then made between the user and selected buddy. Once the connection is completed, the users can communicate by typing and sending messages. Unlike email, the instant messages are designed to appear on the other user's instant message window as soon as they are sent and while the recipient is online. Thus, an interactive chat can be held using the instant message system.
Additionally, interactive games can be played through the Internet. For example, a card game, such as hearts, can be played between users. A user who desires to play in an interactive game can log on to a web site to join a game. At the web site, the user could decide to join a game with random players or can join a game with friends if the user has a reference to the game the friends are playing. However, to join a friend's game, the user must have reference to the specific game on the web site, such as a directory or uniform resource locator (“URL”). The user might have received the reference to the friends' game through email, or any other communications means, or alternatively, the user could have searched the site for games the user's friends were playing. Once locating the game, the web site typically facilitates joining the user to the game by providing a link or URL for the user to select to join the game. Once joining the game, the players of the game would then all view the same game and interact with the game through their respective browsers or user interfaces. As each player interacts with the game, the results of the interactions appear on all players' screens that are participating in the game. For example, if a player discards a card in the hearts game, all players would see the card discarded. Thus, users in remote locations can play an interactive game of hearts.
Using an instant messenger program, buddies can facilitate joining an interactive game between themselves. A text message can be sent to another online user through the instant messaging system asking the user if they want to play the desired game. Once receiving the message, the user can decide to join the game with the requester. However, to join the game, the user must have downloaded the game beforehand. Thus, if the game that the requester wants to play has not been downloaded, the user would have to find out where the game is located and download the game before proceeding. Once downloaded, the user launches the game in the user's computer. The game then finds connection information for the game from the user's instant messenger program and connects to the game. In conventional instant messaging configurations, the only communication sent between the requester and user is a text message asking the user to play a game. No other information regarding the game is sent to the user. Thus, the user must affirmatively find the game requested or download the game and connect to the game the requester is playing.
Additionally, the only users that can participate in the game are the users that were invited by the user who sent the original invitation. The invitation is sent out to the invited users and a game is launched with only the invited users as possible players. If there are other buddies who want to participate, the buddies must be affirmatively invited by a player of the game. Also, the players of the game are transparent to other buddies on the players' buddies lists. In other words, other buddies do not know the players are participating in an interactive game. Rather, the buddies only know that the players are currently on-line.
BRIEF SUMMARY OF THE INVENTION
The present invention relates to a game and messenger client-server system. In one embodiment of the present invention, end users connect game clients to a game server to allow multiple users to interact in a game. End users can use messenger clients to notify other end users that the notifier is currently in an online game and provide instructions for others to join a multiplayer game. In some embodiments, the messages sent to messenger clients of invitees contain sufficient data to allow an invitee to join a specific game that the inviter is playing
In one embodiment of the present invention, a client-server system includes a plurality of game clients, a game server, a plurality of messenger clients, and a messenger server. The game server includes logic to operate a multiplayer game using inputs from and outputs to an active game set of game clients of the plurality of game clients, wherein game clients other than those in the active game set can join an active game by supplying the game server with a reference to the active game. The messenger server includes logic to forward messages from a sender messenger client to a receiving messenger client. Additionally, logic is included for coupling a game client to a messenger client to allow the game client to send the messenger client data used to initiate joining a game, whereby a message sent by the messenger client includes the data used to initiate joining a game. Also, logic is included for initiating a join of a game at an invitee client, using data received in a message to the invitee.
In another embodiment, a method of operating a multi-player game having a plurality of game clients and a plurality of messenger clients in communication with a game server and a messenger server is provided. The method includes the steps of joining the game by sending a reference to the game to the game server; sending, from an inviter game client to an inviter messenger client, data used to initiate joining the game; sending a message including the data used to initiate joining the game to the messenger server; routing the message to an invitee messenger client; and using the data in the routed message to invoke a game client and join the game.
In one embodiment, the present invention provides for a software development kit (SDK) including novel software and processes. An exemplary game according to the present invention supports a SDK in connection with a local messenger client when the game connects to or disconnects from a game server, where such connects and disconnects use a small piece of code to effectuate multi-player gaming. When connecting to a game server, the game creates a command line that another player could use to launch his/her copy of the game and connect to the same game server. This command line (along with a short game name and description of the particular server) is sent from the messenger client to everyone in a player's friend list. The buddies' messenger clients download some additional game information and then shows an icon for the game next to the game player's name. When a friend selects “Join game,” the messenger attempts to launch the game executable with the command line to join the same game server. If the users agree, the friends can remotely play a game together according to the present invention.
A further understanding of the nature and advantages of the invention herein may be realized by reference of the remaining portions in the specifications and the attached drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIGS. 11A-E are simplified block diagrams of an exemplary game-messenger system;
DETAILED DESCRIPTION OF SPECIFIC EMBODIMENTS OF THE INVENTION
In one embodiment of a game-messenger system that is described below, each of a plurality of end users operates a game client and a messenger client. The game clients interface with a central game server and the messenger clients interface with a central messenger server. Notwithstanding that description, it should be understood that the game client and messenger client can be merged into a single program or plug-ins to a single program, the central game server and the central messenger server can be operated as a unified server, and the central game server and/or the central messenger server can be replaced with a distributed server, all without necessarily departing from the scope of the invention. It should also be understood that the present invention is not limited to games, but that where a multiplayer game (i.e., a game configured to allow two or more players) is used as an example herein, another non-game multi-user application could be used instead. For example, instead of notifying other players of multiplayer game play, an inviter could invite other computer or computing device users to join in some other multi-user activity.
In this description, the terms “inviter” and “invitee” are used to distinguish end users between those that are playing a game and notifying others and those that are notified and given a notice of the playing. Often, the “invitee” will not so much be making an invitation to invitees to join a game but would be simply notifying buddies of the inviter that the inviter is playing an online game. Thus, instead of “inviter,” “invitee” and “invitation,” the terms “notifier,” “notifyee” and “notification,” respectively, might be used instead. On the other hand, in some embodiments, an inviter is actively inviting invitees. One implementation of such an embodiment might include a list of invitees maintained for the inviter that is used to limit the notification to only those users that the inviter specifically invites.
An exemplary computer 12 includes a display and display screen (e.g., monitor, flat panel LCD, etc.) for presenting to a user a graphical user interface (GUI).
Computer 12 comprises standard computer components (not shown) such as a disk drive, CDROM drive, display adapter, network card, random access memory (RAM), central processing unit (CPU), and other components, subsystems and devices. User input devices such as mouse having buttons, keyboard, trackball, touch-screen, digitizing tablet, etc. may be used to by a user to enter information into computer 12.
Computer 12 includes also subsystems that are typically be found in a computing device such as computer 12. Subsystems generally include an input/output (I/O) controller, a system memory (or random access memory “RAM”), a central processing unit (CPU), a display adapter, a communications port, a fixed hard drive disk, a network interface adapter, which in turn is coupled electrically to a network, and any other like subsystems. The use of a bus allows each of the subsystems to transfer data among subsystems and, most importantly, with the CPU, where the CPU might be a Sparc, an Intel CPU, a PowerPC, or the like. External devices can communicate with the CPU or other subsystems via the bus by interfacing with a subsystem on the bus. Thus, a monitor connects with the display adapter and relative pointing device (e.g., a mouse) connects through one of the communication ports. Some devices such as keyboard can communicate with the CPU by direct means without using the main data bus as, for example, via an interrupt controller and associated registers. Accord to some embodiments described herein, a game client and a messenger client operate to present a user with graphical information on a user interface for playing a game as well as notifying other friends of one's action of playing a game.
The network provides the communication means, such as physical interconnective links comprising copper wire, fiber optic cable, or the like, for transmitting and receiving signals. Wireless communication means, such as radio waves or the like, are also understood to provide means to transfer information from a source to a destination.
As is well known in the art of network communications, networks are configured to communicate electrical information, such as a computer data signal comprising data (e.g., binary data bits) superimposed upon a radio or any other carrier wave. A person having ordinary skill in the are would appreciate that a carrier wave is electromagnetic energy propagated from a source by radiation, optical or conduction waves and is suitable for embodying an information-bearing signal, such as a computer data signal. In one embodiment, a carrier wave behaves, or is modulated, according to a network protocol, such as Ethernet, IEEE 1394, TCP/IP, or any other communication protocol, so as to include computer data information. The carrier wave can be, for example, a direct current, an alternating current, or a pulse chain. In modulation of the carrier wave, it may be processed in such a way that its amplitude, frequency, or some other property varies so as to embody data for transfer.
In the figures, distinct instances of like objects are distinguished with parenthetical indices. For example, user computer 12 might refer to 12(1) or 12(2). In this example, 12(1) refers to an inviter client operated by an inviter, who invites a user operating invitee client 12(2) to join a game. In a typical system, there may be many inviters, many games and many invitees. Also, if allowed by a game, an invitee might be an invitee in one instance and later be an inviter. As shown in
Game server 14 can be a conventional game server or one specially designed for this application. A typical game server maintains data, such as game state, user position, and user statistics, for active users participating in a game. While data storage for only two games are shown in
As shown, messenger clients 22 are coupled to messenger server 18 for sending messages, such as instant messages, between clients 12. Messenger server 18 is shown with two databases, a buddy list database and a user list database. Generally, the user list database maintains information about a user, such as their connection address and their connection status (i.e., off-line or on-line). Buddy list database maintains a list, for each enrolled user, of other enrolled users that the user wishes to notify when they are online, typically friends, family and other users with which the user associated with the buddy list has chosen to alert when the user is online. Thus, if a user A were to get online and if user B is on or is associated with user A's buddy list, then user B would be notified when User A is online, affording user B a chance to send an instant message to user A when user B is online and notified that user A is also online. It should be understood that the databases can be embodied in many different forms of data structures, such as relational tables maintained by a relational database management system or text files containing data in predetermined formats.
Referring now to
This game data can be provided in an O/S message 38 to messenger client 22(1). Where a multiplayer game is already written, it can be simply retrofitted by the maker of the game to output O/S message 38 when a messenger client is running in a space reachable by O/S message 38, typically running on the same computer as the game client. For example, a small subroutine might be added to a game client such that upon initiation of the game client and connection to a game server the game client checks for the presence of a messenger client (or at least the ability of a messenger client to receive a message) and, if present, sends an O/S message containing invocation data (described in more detail below, with reference to
As shown in
If the invitee opts to join the game, invoker 44 handles sending an invocation command to operating system services 46. In one embodiment, game programs are invoked using command lines and registry entries and the invocation parameters are sufficient to join the game client to the correct game at the correct server.
Since the game clients are preferably provided from a common source, the O/S message sent from the inviter game client to the inviter messenger client can easily be designed to contain enough information to invoke that game client on another machine, assuming that the invitee owns and has installed the game client in a condition to be invoked on the invitee client. Also, if the game clients are provided from a common source, the messenger clients and servers do not have to necessarily understand the contents of the message or specially process the message, except for the optional display of a game-specific icon. Of course, a good security design for a messaging system would require that the messages conform to some limits set by the system to control the uses of the messaging system. The messages might be constrained to conform to the formats shown for the returned file described in more detail below.
Where invocation information varies from client to client, such as where the invocation might depend on the installed directory location for the game client executables, that information can be stored in a registry or similar construct and be referenced by the game client installation using a reference that is common, or at least known, to other game clients.
Referring now to
The inviter game client then checks for the availability of a messenger client and, if a messenger client is such that it can receive a message, the game client creates a message (S5) and sends the message to the messenger client. The messenger client then sends the message to the messenger server (S6), which then forwards the message to all the online users on the inviter's buddy list (S7). In some variations, the message is only forwarded to select users from the buddy list.
When the invitee receives the message (S8) and the invitee decides to join the game referenced in the message (S9), the invitee's messenger client sends an invocation message to the operating system services of the invitee client with enough information to invoke the game client and point the game client to the game the inviter is playing (S10).
The invitee thus joins a game (S11) and the game server serves that joined client as one of the players (S12).
When a client ends a game or terminates a game client, the game client might also include code that executes just before the game client terminates. Such code might generate a message similar to an invocation message and cause the messenger client to send a message indicating the new state (e.g., “out of game”) to the buddies, to inform all that one of the game players is no longer actively in the game. Such a message is also useful for providing some indication, or reversal of a prior indication, at the invitee messenger client that there is no longer a game in which to be invited. One possible implementation is to change the icon presented by the invitee messenger client from the game icon next to the inviter's name to a regular messenger icon next to the name of the inviter (now just a messenger buddy).
Thus, the game client might send the Y! Messenger a state message such as that shown in
In a specific embodiment, the game clients use Yahoo!'s Y! Messenger clients and servers to send state messages to allow a potential player to view their friends' state, i.e., which game, if any, the friend is playing. The process is transparent to both the inviter and the invitee, if desired. For example, the invitee client could be configured to send out a state message any time the invitee joins an online, multiplayer game, thus being transparent to the inviter. The process can also be transparent for the invitee, as the invitee need not know the details of how to invoke a game client or how to find and connect to the game server the invitee's friend is currently engaged with.
In this example, user Tom (associated with ID tom123494949) is playing a game called “DumbChat” on an Internet server, and he has Y! Messenger running on his machine. User Debbie (associated with ID debbie95055) sees on her Y! Messenger that Tom is playing DumbChat (by the change in icon and text surrounding his name) and she decides she wants to surprise him by jumping into the game. She right-clicks on his name in her friends list, and chooses the menu option “Play DumbChat with tom123494949.”
In another embodiment, prior to Y! Messenger displaying the game's icon in a person's friends list, Y! Messenger will actually check a user's computer to see if they have the correct game installed. If the game is installed, then the “Play <Game Name>with . . . ” and “More Information on . . . ” options are made available in the right-click menu. If a user does not have the correct game installed, the only game-related option available to present such a user is the “More Information on . . . ” selection in the right-click menu.
Returning to the Tom and Debbie example, once Debbie chooses “Play DumbChat with Tom” from the right-click menu, Y! Messenger starts the DumbChat game executable with the correct command line arguments to connect her to the same game server where Tom is playing.
In yet another embodiment, a preference setting allows a user to choose whether or not people on a friends list is able to see a game participant's gaming status. For example, a user may 37 invisibly” (i.e., without notifying the other friends on the list) play a game by indicating as such by checking or un-checking a box (in a privacy category, for example). Such an action will determine whether people on your friends list will be able to see your gaming status. If a message or other Y! Messenger-spawned event occurs while a user is playing a game, Y! Messenger will not take the focus away from a player's game. That is, a game player need not shut down a messaging client before playing games. The messages that come in while a user is playing a game will be waiting on the desktop for the player.
In a specific embodiment, a game manufacturer would include a small subroutine or section of code that sends a message to the Y! Messenger window, if the game exists on a client machine, with the game manufacturer including in the message any information needed to invoke the game client at another location and connect to the same game and game server as the game client sending the message. Accordingly, an entity such as Yahoo! generates a SDK under the trademark name of GameProwler™ and distributes the SDK to third party game developers to include the developer's new game server, for example, for use with the entity's web server (e.g., Yahoo! web server)). GameProwler includes various embodiments of the method and system of the present invention, as described herein.
The Yahoo! web server (or the message itself, preferably validated) provides several pieces of information about the game, including a registry key which points to the an executable to launch to invoke the game, a URL to launch if the game isn't installed (fallback message), and the icon to display on the friends' Y! Messenger clients next to the name of the game player (inviter). The friends can then select the user and join their game, which will launch the executable pointed to by the registry key, with the command line parameters as sent by the original game. If the game is not installed, Y! Messenger launches the game-specific URL in the default web browser.
In a specific embodiment of a user client having a windowing environment and a window messaging system, the game program grabs a handle for the Y! Messenger, and then sends a registered window message with a string encoding the game data, such as:
If the ATOM value needs to be longer than is allowed by the window messaging system, the game client can be programmed to output the game invoking data to a file and pass the file name to Y! Messenger.
- This code fragment is design to find the Y! Messenger client window, if it is running. It then registers a string in the global Windows string table and sends the atom for that string in a registered message to Y! Messenger. Y! Messenger looks up the atom with the system, and gets a copy of the original string. The actual string that is sent to Y! Messenger is built from a helper function (not shown). It includes a short game name, the command line to launch to the same game server, a description of the particular game server, and some flags. A helper function takes those parameters and builds them into one string.
Exemplary GameProwler code is contained in files, such as ymessage.c and ymessage.h. A game developer then may compile and link ymessage.c into a game and include ymessage.h. Thecomplied files include, for example, prototypes for at least two functions that are needed to call from a game developer's game: YahooMessengerConnect( ) and YahooMessengerDisconnect( ), for example.
When a game connects to a game server call YahooMessengerConnect( ), at least four of following parameters are employed according to a specific embodiment, as similarly depicted in
When the Y! Messenger client receives a message from a game, it either throws it away, or forwards a state message to an arbitrary subset or all of the buddies listed as buddies of the inviter, based on user settings as shown in
If forwarded, the Y! Messenger client sends a state message on to the Y! Messenger server and from there on to the specified buddies. The updated state of the inviter can, but need not be, stored on the messenger server. If a buddy logs on with their messenger client, each buddy is notified of the new state (e.g., “logged on”). If one of those notified buddies is in a game, that buddy's messenger will send back a message to the newly logged on user with the game information so the newly logged on buddy will have the information to display a game icon, invoke a game, etc.
An optional census process can run on the messenger server to roughly track usage of the game-messenger invocation. One way to implement this feature is to have the invoking messenger client set an internal flag and watch for the O/S message that the game client normally sends to the messenger client when the game starts up and detects the messenger client. When the messenger client receives that message from the game client, the messenger sends the message to the messenger server and includes the state of the flag. After sending that message, the messenger client resets the flag.
Using such a mechanism, the messenger server will receive messages from many messenger clients that include invocation instructions. Where the game was invoked directly by the user, the flag is not set and where the game was invoked from the messenger client, the flag is set. While there may be some cases where the flag is not entirely accurate, this census is accurate enough for many purposes. When a game is invoked from the messenger, the computer fails before the game client sends its O/S messenger and then later the user invokes the game client directly, the message to the messenger server will incorrectly indicate that the game was invoked from within the messenger client, but such instances are likely to be rare enough to not significantly effect the statistics gathered. The count of set flags and reset flags can be used to count the number of times the messenger-game system is used and on which games.
When an invitee messenger client receives a message that a buddy is playing a game, the invitee messenger client decodes the message as needed to invoke the game and optionally send a message to the census process. For example, the invitee messenger client might send an HTTP request, prior to invoking the game, to the URL http://<messenger-domain>/messengergames/lookupname.txt?v=1, where the “?v=1” part of the URL specifies the version number of the messenger client being used by the invitee. The server name (<messenger-domain>) should be configurable on the inviter and invitee clients, to allow game developers to test their game clients and the game-messenger system locally on their network. The configurability might be provided by using a registry entry to specify the domain and filename portion of the URL. Preferably, if the server name <messenger-domain> is not a subdomain of the operator of the messenger service, the messenger client would warn the invitee client user that the game to which the invitee is being invited has not been verified by the messenger service operator. That step would reduce the incidence of malicious network users sending invitations to join online games that have undesirable or unintended effects on the invitee. This step would also serve to remind game developers to register the game with the messenger service operator for verification before releasing the game to the users.
When the invitee client gets the state message from an inviter client, it looks up data about the game from a game data server. The game data server might be a Yahoo! HTTP server where the game data is “looked up” by downloading a text file from a HTTP server using a standard http lookup. The game data file can be a unix formatted text file, with one field per line. The fields present in the same data file might depend on the values of fields of the message. A few examples are shown below. For example, the file might begin with a field called “tag” that signals whether the game entry is valid (tag=1), if the game entry is an invalid executable game entry (tag=2) or if the game entry is a valid URL game entry (tag=3). Thus, the file
would indicate that the game is not supported. Note that no other fields are present, or needed, in such a file. If an invitee messenger client receives such a file, the client will just discard the game info for the buddy inviter. Another file
would be interpreted by the invitee messenger client as a reference to a valid game that is executable locally. In that message, the icon field references a (local or remote) URL of a bitmap of the icon of the game to be displayed by the invitee messenger client. The bitmap might be a 16 by 16 pixel array having up to 256 colors with a particular color, such as magenta, being interpreted as no color (i.e., transparent). The regkey field indicates a registry key that contains a fully qualified path and executable to run to invoke the game client at the invitee client. The fallbackURL key provides a reference to a URL to launch if the game client is not installed and the invitee user tries to join his/her buddy in the game. In this example file, labels enclosed in “<>” represent space holders for text or numbers who's actual value is not relevant here. The file also includes a reference to a URL to launch if the invitee wants more information about the game (infoURL), text for menu item the invitee would use to launch the game (menutext, example: “Play game X with % s”) and text for menu item for more game info (infomenuitem).
Yet another file is
where several of the fields are the same as a tag=1 file, but the gameURL field provides a prefix of a URL used to load the game client at the invitee client.
The invitee messenger client can cache this information about a game for every message it receives about a friend playing each game while the messenger client is operating. If a valid game data file is returned from the game data server, the invitee messenger client retrieves the game icon and displays it next to the buddy's name, in place of the standard messenger icon, such as the “smiley face” icon. If the invitee user pauses a cursor over the buddy's name or game icon, a tooltip might pop up with the description of the game. The right click menu for the buddy might have two extra entries, one for launching the game and one for more game information, as specified in the fields of the sent file.
Returning to the Tom and Debbie example,
The web server may return a text file including several lines of data. The first line contains the character “1”, meaning a standard game. The second line contains a URL to a bitmap to show next to the game player's name in the friend list. This bitmap must be a standard 16×16 256-color .bmp file. For example, pure magenta specifies transpancy. A third line contains a registry key that points to a path that Y! Messenger will set as the current directory before launching the game. A fourth line contains a registry key that points to the fully qualified path of the executable to launch. A fifth line contains the URL to a Yahoo! web page to launch if Y! Messenger is unable to launch the game. A sixth line contains the URL to a Yahoo! web page to launch if the user wants more information about the game. A seventh line contains the menu text to display to play the game (with % s representing the friend's name), and an eighth line contains the menu text to display for more information. Additional lines to enhance functionality or fewer lines to reduce quantity of data exchaged is within the scope of the present invention.
In this example of Tom and Debbie, the DumbChat sample program developed in connection with the GameProwler SDK uses the short name “dumbchat,” and corresponds with a URL http:gameprowler_yahoo_com/messengergames/dumbchat_txt. An exemplary program includes the following:
For development purposes, a game developer may configure a specific Y! Messenger to retrieve game information from a local web server. Using the system registry editor, change the value of HKEY_CURRENT_USER\Software\Yahoo\Pager\Game\Server to a web server on a network. If necessary, installation of a Personal Web Server (for Windows 9× or Windows NT) might be required. A registered game operable with Yahoo! might be required before a game is released for GameProwler to also work for a developer's users.
If the user tries to join the game, then Y! Messenger looks up the game's executable registry key, and tries to launch that executable with the command line specified from the friend. If this succeeds, the game will execute and should connect to the same game server as the friend. If the game launch fails, then there is an initiation of an indication of a setup error with the game. Y! Messenger launches a web browser to a Yahoo! web page that will show both troubleshooting information and other general information about the game.
According to a method and system including an exemplary GameProwler development kit, such a kit includes a small amount of code that is preferably included in a developer's constructed game, as well as a sample chat program using this code called “DumbChat.” To support GameProwler, a developed game preferably supports being launched with command line parameters to connect to a remote game server.
When a game player successfully joins a new networked game, a command line is used to launch his/her copy of the developed game. The player then connects to the same game server, for example. For many games, it would look like this:
where ip is the IP address of the remote game server, and port is the port on the remote game server to send packets to. It is up to each copy of the game to interpret this command line correctly.
A game developer preferably builds up a string that describes the particular game server the developer is connected to. This could include information such as skill level, game name, game type (capture the flag, deathmatch, etc.), number of connected users, etc. Then, the game server takes this information and sends it to YahooMessengerConnect( ) like this:
Preferably, a file ymessage.h (from the GameProwler SDK) is used to provide a function prototype having a YMESSEGE_DO_NOT_DISTURB constant. When the game disconnects from a network server (because the user quit, the application is closed, a network error occured, or any other similar reason), call YahooMessengerDisconnect( ) is used to remove the game playing status like this:
The above examples show fields in a “label=string” format. In some implementations, the labels are not present, but are inferred and the fields always appear in the same, predefined order.
If the invitee selects the menu item that launches a game client, then the messenger client attempts to execute the indicated program according to the game data file with the command line parameters sent by the buddy. If this fails, because the game program does not exist on the invitee client or for other failure reasons, then the invitee messenger client presents the fallback message. One method of displaying a fallback message is to launch a web browser with the fallback URL specified in the game data file. If the game is marked as a URL type game (tag=3), then the invitee messenger client it concatenates a URL suffix to the game URL prefix (gameURL) and launches a web browser with that concatenated URL. The URL suffix is passed by the inviter client, in lieu of command line parameters. If the user selects the “infomenuitem” menu item, then the specified URL is launched in a web browser.
A basic system for game-messenger integration and a few variations have now been described. Many variations of the basic system will become apparent upon review of the disclosure and some variations are described in detail below.
One such variation is where game clients are written using Java™ code. Since such game clients are typically invoked at a game server, to be executed on a client, a client-side O/S messaging might not be possible, since Java programs are designed not to be able to access certain operating system services. With such games, the communications paths can be modifed from the system shown in
The game server might also send state messages when users leave a game. Such game server-messenger server messages might be HTTP messages. A game server can be operated by the same operator of the messenger system, such as the Y! Games servers and the Y! Messenger servers, or the servers can be independently operated.
In the Java variation, the game servers act like the messenger client, in that the game server duplicates the configuration of which friends to tell about the user's room changes. Thus, the game servers might need to hold onto more information than if the clients initiated the messages.
Besides just passively changing the state of a buddy's messenger client, the game message could also contain an “invite” flag. When the buddy's messenger client receives the game message, if the invite flag is reset, the buddy's messenger client just changes the state. However, if the invite flag is set, the buddy's messenger client invokes a dialog box with the game information and a button to accept the invitation to join the game.
This invite flag feature could be extended to be used with other messenger users that use “fake” messenger clients that are actually software agents, such as a “tournament buddy” that would guide users through playing game tournaments, or a “chat events buddy” that would invite users to all chat events. This concept could be extended to non-game guiding of users throughout an online environment.
While the above description explains operating system-level messages from a game client to a messenger client, messages might also be sent in the other direction in some implementations. For example, when a game is a full screen application, it is not always desirable to have the messenger client pop up. In such environments, the game clients might be further modified to accept messages from the messenger client and display selected messages in the context of the game. With such a capability, two or more players of a game could be playing in one multiplayer game while each of them have their messenger client running in the background. When a messenger client receives a message from one of the other players, that message is forwarded to the game client of the receipient, which can display the message in the context of the game, and even allow the recipient to reply to the message in the context of the game.
As mentioned previously, while the primary example described herein relates to games and one game player inviting other game players to join a game, where the invitation is delivered as a message that includes invocation instructions, the system would work well with nongame multi-user applications. For example, consider a whiteboarding application, used by multiple people in a collaborative drawing session. The inviter in this case would be a user that is using a client-server whiteboard program that is preferably pre-enabled to send invocation messages. When the inviter makes an invitation, the inviter's messenger client sends a message to the invitees on the inviter's buddy list, who can then invoke the whiteboard application and connect to the correct session on a whiteboard server, all using the data provided in the message. Such an activity, whether whiteboarding, game or any other activity, may include an “activity client” and an “activity server” to effectuate an embodiment of the present invention.
The above description is illustrative and not restrictive. Many variations of the invention will become apparent to those of skill in the art upon review of this disclosure. The scope of the invention should, therefore, be determined not with reference to the above description, but instead should be determined with reference to the appended claims along with their full scope of equivalents.
1. A game and messenger client server system, comprising:
- a plurality of game clients;
- a game server including logic to operate a multiplayer game using inputs from and outputs to an active game set of game clients including the plurality of game clients, wherein game clients other than those in the active game set can join an active game by supplying the game server with a reference to the active game;
- a plurality of messenger clients;
- a messenger server including logic to forward messages from a sender messenger client to a receiving messenger client;
- logic to couple a game client to a messenger client to allow the game client to send the messenger client data used to initiate joining a game, whereby a message sent by the messenger client includes the data used to initiate joining a game; and
- logic to initiate a join of a game at an invitee client, using data received in a message to the invitee.
8. The game and messenger client server system of claim 1, further comprising an icon that indicates a state of an inviter client.
9. The game and messenger client server system of claim 8, wherein the icon is a game-specific icon.
10. The game and messenger client server system of claim 1, further comprising logic to generate a data file sent in response to a request from the invitee client.
17. A method of operating a multi-player game having a plurality of game clients and a plurality of messenger clients, the plurality of game clients and plurality of messenger clients in communication with a game server and a messenger server, the method comprising:
- joining the game by sending a reference to the game to the game server;
- sending, from an inviter game client to an inviter messenger client, data used to initiate joining the game;
- sending a message including the data used to initiate joining the game to the messenger server;
- routing the message to an invitee messenger client; and
- using the data in the routed message to invoke a game client and join the game.
18. The method of claim 17, further comprising sending, from the game server to the inviter game client, a reference used to join the game.
19. The method of claim 17, further comprising sending the message to a list of messenger clients associated with the inviter messenger client,
- wherein an updated state is perceptible by a user of the invitee messenger client.
20. The method of claim 17, further comprising updating a state of an icon associated with the inviter messenger client in response to receiving the message.
23. The method of claim 17, further comprising sending a request for a game data file to the game server.
24. The method of claim 23, wherein the game data file includes a reference to the game locally.
28. A method of operating a multi-player game having an inviter client, an invitee client, and a server, the method comprising:
- invoking an inviter game client at the inviter client;
- connecting the inviter game client to the game by sending a reference to the game to the server;
- creating a message at the inviter client containing data used for invoking an invitee game client and for joining the game;
- routing the message to the invitee client; and
- using the data in the message to invoke the invitee game client and join the game.
29. The method of claim 28, wherein creating the message comprising creating the message at the inviter client.
30. The method of claim 29 28, wherein routing the message is by using TCP/IP.
31. The method of claim 28, wherein creating the message comprising creating the message at the server.
32. The method of claim 31 28, further comprising sending the message to a second server.
33. A game and messenger client server system, comprising:
- a plurality of game clients including an inviter and an invitee game client;
- a plurality of messenger clients including an inviter and invitee messenger client;
- a server including logic to operate a multiplayer game using inputs from and outputs to an active game set of game clients of the plurality of game clients, wherein game clients other than those in the active game set can join an active game by supplying the server with a reference to the active game;
- logic to couple the inviter game client to the inviter messenger client to allow the inviter game client to send the inviter messenger client data used to initiate joining a game, whereby a message sent by the inviter messenger client includes the data used to initiate joining a game; and
- logic to initiate a join of a game at the invitee game client, using data received in a message to the invitee messenger client,
- wherein the inviter messenger client includes logic to forward messages to the invitee messenger client.
35. A method for providing a multi user networked computing environment, the method using an activity server and a messenger server, where the activity server and the messenger server are configured to communicate with a plurality of user computer systems, the user computer system including an activity client where the user computer system executes a user interface operated by a human user and is further configured to engage an activity using the activity client, wherein the user interface includes a display device and a user input device, wherein the user computer system is coupled to a network for exchanging information with the activity server and the messenger server, the method comprising:
- accepting signals from the user input device to engage the activity using the activity client;
- presenting one or more preferences to the user computer system, where the one or more preferences are associated with activities;
- selecting at least one preference to join the activity;
- invoking the selected activity with a messenger client;
- providing to the messenger server a user state and a reference to the activity in which the user is participating; and
- presenting to another user associated with at least one of the plurality of user computer systems the user state and the reference to the activity.
36. The method of claim 35 further comprising:
- selecting to join the user in the activity by the another user;
- invoking another activity client, where the another activity client is associated with the another user; and
- joining the user and the another user in a multi user activity.
37. A method of claim 35, wherein the activity is a game.
38. A computer program designed to execute on a server having a game server and a messenger server to provide a multi player computer environment, the computer program comprising:
- program code to accept signals from a user input device to engage a game using a game client;
- program code to present one or more preferences to a user computer system, where the one or more preferences are associated with games;
- program code to select at least one preference to join the game;
- program code to invoke the selected game with a messenger client;
- program code to provide to the messenger server a user state and a reference to the game in which the user is playing; and
- program code to present to another user associated with at least one of a plurality of user computer systems the user state and the reference to the game.
39. The computer program of claim 38, further comprising:
- program code to select to join the user in the game by the another user;
- program code to invoke another game client, where the another game client is associated with the another user; and
- program code to join the user and the another user in a multi-game activity.