CHESS PROGRAM Kristal McKinstry Diana Thai Khalifa Sangarie

Slides:



Advertisements
Similar presentations
Understand and appreciate Object Oriented Programming (OOP) Objects are self-contained modules or subroutines that contain data as well as the functions.
Advertisements

When is Orientated Programming NOT? Mike Fitzpatrick.
Data Structures.
4. Object-Oriented Programming Procedural programming Structs and objects Object-oriented programming Concepts and terminology Related keywords.
OBJECT ORIENTED PROGRAMMING M Taimoor Khan
Object Oriented System Development with VB .NET
Fall 2007ACS-1805 Ron McFadyen1 Programming Concepts Chapter 4 introduces more advanced OO programming techniques. Construction of a programs usually requires:
OBJECT ORIENTED ANALYSIS & DESIGN Vassilka Kirova Department of Computer & Information Science NJIT.
Chapter 13: Object-Oriented Programming
WEL COME PRAVEEN M JIGAJINNI PGT (Computer Science) MCA, MSc[IT], MTech[IT],MPhil (Comp.Sci), PGDCA, ADCA, Dc. Sc. & Engg.
Chapter 3.4 Programming Fundamentals. 2 Data Structures Arrays – Elements are adjacent in memory (great cache consistency) – They never grow or get reallocated.
C++ fundamentals.
OBJECT ORIENTED PROGRAMMING IN C++ LECTURE
COMPUTER PROGRAMMING. Introduction to C++ History Merges notions from Smalltalk and notions from C The class concept was borrowed from Simular67 Developed.
CPT 140 Programming Constructs1 OBJECT ORIENTED TECHNOLOGY Terminology and Basic Concepts.
Abstraction, Inheritance, and Polymorphism in Java.
Object Oriented Software Development
OOP- OBJECT OBJECT PROGRAMMING By KRATI SHARMA 02 XI-B ✏✏✏✏ ☺☻☺☻☺☻☺ ✏✏✏✏
Introduction to Object-oriented Programming CSIS 3701: Advanced Object Oriented Programming.
Introduction to Object-oriented programming and software development Lecture 1.
O BJECT O RIENTATION F UNDAMENTALS Prepared by: Gunjan Chhabra.
An Object-Oriented Approach to Programming Logic and Design
Object Oriented Programming CS160 - OOP. Objects Objects are a Objects are a way to organize and conceptualize a program as a set of interacting objects.
Design patterns. What is a design pattern? Christopher Alexander: «The pattern describes a problem which again and again occurs in the work, as well as.
OO (Object Oriented) Programming Chapter 21 IB103 Week 12.
11 Chapter 11 Object-Oriented Databases Database Systems: Design, Implementation, and Management 4th Edition Peter Rob & Carlos Coronel.
Object-Oriented Programming (OOP) CSC-2071 (3+1=4 Credits) Lecture No. 1 MBY.
Objected Oriented Programming & Design JAVA Shishir Gupta (704) (704)
Computer Science II 810:062 Section 01. How is CS I different from CS II? When you teach Java there are a series of decisions that have to be made…
Guided Notes Ch. 9 ADT and Modules Ch. 10 Object-Oriented Programming PHP support for OOP and Assignment 4 Term project proposal C++ and Java Designer.
Object Oriented Programming Principles Lecturer: Kalamullah Ramli Electrical Engineering Dept. University of Indonesia Session-3.
OBJECT-ORIENTED PROGRAMMING (OOP) WITH C++ Instructor: Dr. Hany H. Ammar Dept. of Electrical and Computer Engineering, WVU.
Chapter 12 Support for Object oriented Programming.
C++ Programming Basic Learning Prepared By The Smartpath Information systems
1 Programming Paradigms Object Orientated Programming Paradigm (OOP)
Design Patterns -- Omkar. Introduction  When do we use design patterns  Uses of design patterns  Classification of design patterns  Creational design.
Introduction to c++ programming - object oriented programming concepts - Structured Vs OOP. Classes and objects - class definition - Objects - class scope.
Learners Support Publications Object Oriented Programming.
CS 3050 Object-Oriented Analysis and Design. Objectives What is “Object-Oriented?” Object-Oriented Approach Vs. Structured Approach How Has the Object-Oriented.
Abstraction ADTs, Information Hiding and Encapsulation.
 Computer Science 1MD3 Introduction to Programming Michael Liut Ming Quan Fu Brandon.
Java Fundamentals Usman Ependi UBD
OOP Review CS 124.
Chapter More on Classes Intro to Computer Science CS1510, Section 2 Dr. Sarah Diesburg.
Lesson 1 1 LESSON 1 l Background information l Introduction to Java Introduction and a Taste of Java.
CSE 2341 Object Oriented Programming with C++ Note Set #4
Welcome to OBJECT ORIENTED PROGRAMMING Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
1 Object-Oriented Programming Using C++ CLASS 17 Honors.
Software Construction Lab 05 Abstraction, Inheritance, and Polymorphism in Java.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
Object-Oriented Design
Programming paradigms
Object Oriented Programming
Object-Oriented Programming Concepts
CHAPTER 5 GENERAL OOP CONCEPTS.
Lesson Objectives Aims Key Words
Sections Basic Concepts of Programming
MPCS – Advanced java Programming
INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING (OOP) & CONCEPTS
Types of Programming Languages
C++.
SNSCT_CSE_PROGRAMMING PARADIGM_CS206
Inheritance "Question: What is the object oriented way of getting rich? Answer: Inheritance.“ “Inheritance is new code that reuses old code. Polymorphism.
Object Oriented Analysis and Design
Object-Oriented Programming
Object-Oriented PHP (1)
CPS120: Introduction to Computer Science
Object Oriented Design & Analysis
Object Oriented Programming(OOP)
Call and return architectures
Presentation transcript:

CHESS PROGRAM Kristal McKinstry Diana Thai Khalifa Sangarie CS 85 PHP Programming Kristal McKinstry Diana Thai Khalifa Sangarie Sasan Shaye

Presentation Outline Object Oriented Programming 1 Min Chess Game Demo 1 Min How Chess Program Works: 3 Min Khalifa: How Program Works Sasan: Database Ask 2 Questions: 1 Min

Object Oriented Programming OUR CHESS PROGRAM uses the OOP method. LOWER COSTS: One of the main advantages of OO programming is its ease of modification; objects can easily be modified and added to a system thereby reducing maintenance costs. MODELS THE REAL WORLD: OO programming is also considered to be better at modeling the real world than is procedural programming. Applicable concept. SOPHISTICATION: It allows for more complicated and flexible interactions. EASY TO UNDERSTAND: OO systems are also easier for non-technical personnel to understand and easier for them to participate in the maintenance and enhancement of a system because it appeals to natural human cognition patterns. LESS TIME: For some systems, an OO approach can speed development time since many objects are standard across systems and can be reused. Components that manage dates, shipping, shopping carts, etc. can be purchased and easily modified for a specific system.

3 “Greatness” About OOP Inheritance – Instead of starting from scratch, you can easily create new objects from existing classes that were built by other programmers. This allows reuse of existing code with little or no modification, saving time and money. Polymorphism - Even though classes are derived or inherited from the same parent class, each derived class or child will have its own behavior. Analogy is that even though Andre Agassi and Steffi Graff are the parents, their child could inherit their forehand and backhand moves but plays ping pong. Encapsulation – Hides the objects’ data and methods from the rest of the world. The reason why this is great is that when design decisions in a computer program that are most likely to change, this protects other parts of the program from change if the design decision is changed.

HOW THE CHESS PROGRAM WORKS: CHESS.PHP DOES: (1) Loads Libraries – 1st 15 lines (2) Instantiates Objects: (1) OBJ to Build GUI (2) OBJ to Connect MySQL (3) OBJ for AIM Chat Feature (4) OBJ to Test Legal Chess Moves, and A LOT MORE… (3) Reads the variables from OCollectFormVars and determines how to execute. OCOLLECTFORMVARS DOES: Interprets user activity and variables & sends data, which CHESS.PHP reads to determine WHAT TO DO. (2) Uses 2 Arrays: I. Array 1 collects user information & variables to send to CHESS.PHP II. Array2 gives data to CHESS.PHP to build GUI. DATABASE DOES: Retrieve who’s turn Stores game details Store snapshot of game board after each legal move & MORE

How Objects Connect to MySQL