Networked Games - consistency and real-time Objectives – –Understand the problems associated with networked games. –Realize the importance of satisfying.

Slides:



Advertisements
Similar presentations
All rights reserved © 2006, Alcatel Grid Standardization & ETSI (May 2006) B. Berde, Alcatel R & I.
Advertisements

Causality in online gaming Objectives – Understand how online gaming relates to causality research in distributed systems – Be able to apply distributed.
Dead Reckoning Objectives – –Understand what is meant by the term dead reckoning. –Realize the two major components of a dead reckoning protocol. –Be capable.
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
VLANs Virtual LANs CIS 278.
MV-3500 DoD Modeling & Simulation Network Protocols.
Tim Worcester. What is an MMO? Why invest time into them?
Online Virtual Environments: Second Life. Networked Virtual Worlds Early interest in shared virtual spaces –Training –Social –Scalability Difficult issues.
Approaches to EJB Replication. Overview J2EE architecture –EJB, components, services Replication –Clustering, container, application Conclusions –Advantages.
Distributed components
GridFlow: Workflow Management for Grid Computing Kavita Shinde.
M ERCURY : A Scalable Publish-Subscribe System for Internet Games Ashwin R. Bharambe, Sanjay Rao & Srinivasan Seshan Carnegie Mellon University.
Reliability Week 11 - Lecture 2. What do we mean by reliability? Correctness – system/application does what it has to do correctly. Availability – Be.
TC2-Computer Literacy Mr. Sencer February 4, 2010.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Essentials of interaction diagrams Lecture Outline Collaborations Interaction on collaboration diagrams Sequence diagrams Messages from an object.
School of Computer Science and Software Engineering A Networked Virtual Environment Communications Model using Priority Updating Monash University Yang-Wai.
SESSION 9 THE INTERNET AND THE NEW INFORMATION NEW INFORMATIONTECHNOLOGYINFRASTRUCTURE.
1 By Vanessa Newey. 2 Introduction Background Scalability in Distributed Simulation Traditional Aggregation Techniques Problems with Traditional Methods.
Introduction to Multiplayer Network Technology Thomas Lidy.
TENA Test and Training Enabling Architecture. TENA TENA is used in range environments, often in the L portion of LVC Slightly different emphasis; small.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 1.
Chapter 1 The Challenges of Networked Games. Online Gaming Desire for entertainment has pushed the frontiers of computing and networking technologies.
The chapter will address the following questions:
Extending the Limits of CVE' s to Support Collaborative e-Learning Scenarios page 1 ICALT 2002 Extending the Limits of CVEs to Support Collaborative e-Learning.
Basic Data Communication
1 The SpaceWire Internet Tunnel and the Advantages It Provides For Spacecraft Integration Stuart Mills, Steve Parkes Space Technology Centre University.
Object-Oriented Software Engineering Practical Software Development using UML and Java Chapter 8: Modelling Interactions and Behaviour.
Principles of User Centred Design Howell Istance.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
1 10 THE INTERNET AND THE NEW INFORMATION TECHNOLOGY INFRASTRUCTURE.
Network Physics Created by Ruslan Yavdoshak for Nikitova Games, 2008.
PRESENTED BY Geenas GS S7, ECE Roll.No:  Introduction.
MV-4474 Virtual Environment Network & Software Architectures Michael Zyda
Team ThinkTank. Specifications Ad Hoc networking game. Similar to the Atari Combat! Players control their tank and shoot enemy tanks. Each player gets.
Invitation to Computer Science 5th Edition
Introduction to Networked Graphics Part 3 of 5: Latency.
Lecture 9: Chapter 9 Architectural Design
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Passage Three Multimedia Application. Training target: In this part , you should try your best to form good reading habits. In order to avoid your ill.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 9 Introduction to Network Operating Systems.
Distributed Virtual Environments Introduction. Outline What are they? DVEs vs. Analytic Simulations DIS –Design principles Example.
Using Collaborative Interactive Objects and Animation to Enable Dynamic Interactions in Collaborative Virtual Environments Pieter Jorissen* Maarten Wijnants,
Parallel and Distributed Simulation Introduction and Motivation.
Parallel and Distributed Simulation Introduction and Motivation.
PARALLEL COMPUTING overview What is Parallel Computing? Traditionally, software has been written for serial computation: To be run on a single computer.
Computer supported cooperative work -Basic concepts
Networked Games Objectives – –Understand the types of human interaction that a network game may provide and how this influences game play. –Understand.
Multiplayer games on networks potential and tradeoffs.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Mr C Johnston ICT Teacher G055 - Lecture 03 Local and Wide Area Networks.
Distributed System Architectures Yonsei University 2 nd Semester, 2014 Woo-Cheol Kim.
Reading TCP/IP Protocol. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also.
第 1 讲 分布式系统概述 §1.1 分布式系统的定义 §1.2 分布式系统分类 §1.3 分布式系统体系结构.
CSC 480 Software Engineering Lecture 17 Nov 4, 2002.
EEL 5937 Applications. Environments. EEL 5937 Multi Agent Systems Lotzi Bölöni.
Ordering in online games Objectives – Understand the ordering requirements of gaming – Realise how ordering may be achieved – Be able to relate ordering.
Introduction to Networks. When Personal Computers first appeared in business, software programs were designed for a single user. However as computers.
Scaling and Fault Tolerance for Distributed Messages in a Service and Streaming Architecture Hasan Bulut Advisor: Prof. Geoffrey Fox Ph.D. Defense Exam.
Building Educational Virtual Environments page 1 ICALT 2002 Building Educational Virtual Environments C. Bouras, and T. Tsiatsos Computer Engineering and.
Distributed Systems Architectures Chapter 12. Objectives  To explain the advantages and disadvantages of different distributed systems architectures.
2. Specification and Modeling
CSC 480 Software Engineering
CHAPTER 3 Architectures for Distributed Systems
Chapter 5 Networks Communicating and Sharing Resources
Introduction to Local Area Networks
File Transfer Issues with TCP Acceleration with FileCatalyst
Introduction to Networking & TCP/IP
Presentation transcript:

Networked Games - consistency and real-time Objectives – –Understand the problems associated with networked games. –Realize the importance of satisfying real-time and consistency requirements.

First networked games Allow multiple users to interact in a single gaming environment via text based communications. Initially made popular by Multi User Dungeons (MUDS). –These are traditionally text based and reached their highest popularity in the 70s and 80s. –Required users to build up their abilities (e.g., physical strength, magical capability) over a number of sessions. –Games last a long time. Users participate in a number of sessions over a period of days, months and even years. –Replayability value is high. Difficult to stop playing when you have amassed so many points/skills over a prolonged period of time.

Real-time networked games Allow users to interact in real-time, usually involving graphical representation of the gaming arena. X-Pilot is an example of such a game. –Very popular in the open source community. –Fly a space ship around a 2D gaming arena, avoiding rocks while shooting other users or automated ships (known as robots – simplified to bots in later years). Recent games tend to be centered around first person shooters. –Unreal Tournament, Quake 3, etc.

Classification of networked games Networked games may be considered a sub-category of networked virtual environments (net-VEs). Net-VEs describe two active areas of research. –Distributed Interactive Simulation (DIS) – Emphasis is on modeling real world scenarios. Usually war type simulations. –Collaborative Virtual Environments (CVE) – Emphasis is on encouraging human interaction in collaborative working scenarios. Networked games tend to “borrow” from both DIS and CVE lines of research: –For example, simulate fighting scenarios while allowing user collaboration (simply via messaging).

DIS Research primarily funded by the military. –War simulations for training troops, tank drivers etc. –Attempted to link simulation units (such as tank simulators and flight simulators) that are geographically separated (e.g., different cities) so they can interact in battle scenes. Emphasis is on realism. –Simulators are replicas of real hardware (interior). –Battles are played out in real-time. –Special “stations” allowing “generals” to monitor battles. Recent research looking at collaborative techniques. –Allowing battle units to cooperate. –Difficult to achieve as many units are “dummy” entities (actions are partly controlled by computer, may only be ordered by a general). –Integrating AI controlled entities with human controlled entities in a collaborative manner is difficult.

CVE Allow geographically distributed users to cooperate. –May mimic well known physical collaborative techniques such as lectures, tutorials, common rooms. Due to the virtual nature of the environment other collaborations are possible. –Walk through a house yet to be built. –Collaboration of engineers on 3D designs. –Molecule modeling. Emphasis is on improving collaboration between users. –Not as important as real world model. Real world physics is not required (most of the time). –Representation of different individuals, different mechanisms of communication (e.g., gesturing) are most important. Primarily funded by research grants related to work carried out in the Computer Supported Collaborative Work Community (CSCW).

Problems with networked games that have hard real-time requirements Must satisfy real-time requirements while satisfying consistency requirements. –Which is more important? –If real-time requirements are not met then realism suffers. –If consistency requirements are not met then user interaction becomes difficult to achieve. Real-time? –If user U 1 opens a door by time t then all users should see U 1 open a door by time t. Consistency? –If user U 1 opens a door and then passes through the doorway then all users should see U 1 open the same door then pass through the same doorway.

Example of real-time problem Three users (U 1, U 2, U 3 ) participate in a first person shooter. U 2 appears in 6 different positions in consecutive frames. At frame 3 U 2 enters the line of fire of U 1 and U 3. U1U1 U2U2 U3U3 Due to message latency, U 1 views U 2 at frame 3 sufficiently late for U 3 to gain an unfair advantage.

Example of consistency problem Three users (U 1, U 2, U 3 ) participate in a first person shooter. As viewed from U 1 : U 1 pushes a button that disarms all opponents. As viewed from U 2 : Just before U 1 pushes the button U 2 shoots U 1. What does U 3 see? Ordering of events (even if they appear to happen concurrently) is required. –Ensuring every user views events in the same order is commonly termed identical ordering or total ordering.

Attempting to satisfy real-time requirements Two methods exist: predictive modeling & scoping/zoning. Predictive modeling is sometimes termed dead reckoning. –Useful if we can quite accurately predict future events related to a received event. –An example would be the firing of a rocket. Provided with velocity, acceleration and starting position we can predict its flight through the air. Scoping requires limiting the number of users that are expected to receive an event. –Commonly achieved via the division of the virtual space. –This can be via rooms, or simply user’s views.

Attempting to satisfy consistency requirements Some form of message ordering protocol is required. A trivial attempt at satisfying ordering is to use TCP to ensure FIFO and have a central server through which all messages must pass through. –The central server, together with TCP, ensures all nodes receive the same messages in the same order (we are ignoring node failure and disallowing nodes to act on their own messages without traversal through the server). UDP is used rather than TCP as TCP may introduce excessive latency time for message transit. This prevents FIFO ordering (apart from over LAN where broadcast may be used). –UDP introduces the problem of message loss (even though TCP does not overcome this totally it does provide some indication when messages are not received in some instances).