15
Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor: Dr. V. Këpuska

Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Embed Size (px)

Citation preview

Page 1: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Final Project PresentationT3: Tic Tac Toe using Trolltech’s Qt: C++

application development framework

ECE 2552: Software / Hardware IntegrationProfessor: Dr. V. Këpuska

Page 2: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Team Members

• Chris Maher– Main program: AI computer logic, basic structure

of game

• Chris Hellriegel– Main GUI Implementation

• Wilmarie J. Hernandez– GUI Implementation, Code Cleanup, built

OldGlobals.h/.cpp

Page 3: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Objective

• To solidify current understand/knowledge of C++

• To learn to develop GUI based applications

• To gain some basic experience into developing larger C++ based applications

Page 4: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Applied ECE 2552 Concepts

• Inheritance– We created new classes by inheriting classes from the Qt

framework.

• Exposure of Polymorphism– In Connections dialog, ability to make virtual functions.

• Dr. Këpuska’s All-Mighty And Wise “Yoda” Knowledge of C++– We resolved some problems with our AI logic through a

consultation from Dr. Këpuska.

Page 5: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Functions Created

• playerMove()

• computerMove()

• checkGame()

• buttonEnabled()

• buttonDisabled()

Page 6: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Qt Class Implementations

• QDialog– exec()– show()

• QPushButton– setEnabled( bool )– setDisabled( bool )

• QString– No specific functions utilized.

• QLabel– setText( const QString )

Page 7: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

QDialog

Page 8: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

QPushButton

Page 9: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

QString

Page 10: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

QLabel

Page 11: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

OldGlobals

Page 12: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Things we would have done if we were getting paid.

• Major Code Clean-Ups ! ! !

• Include a Player VS Player Option

• Include a Computer VS Computer Demo

• Improved GUI

• Explored other game options (Dots)

Page 13: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Final Result

Page 14: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

Grand Finale

This is the end of our presentation. Thank you for your attention.

Please give us each an A. We are good students who need A’s.

-Thanks Again.

Page 15: Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development framework ECE 2552: Software / Hardware Integration Professor:

• The blue inflatable thing in Chris’s room.

• The voices inside all our heads.

• Linux: For having a free version of Qt that does not need to shut-down every 30 minutes.

• Windows: For not being able to support LED’s in Qt.

• Qt: For liking one form of coding and not the other, regardless if they mean the same thing.

• Paintball conversations: For getting in the way of our work.

Special Thanks to: