Final Project Presentation T 3 : Tic Tac Toe using Trolltech’s Qt: C++ application development...

Preview:

Citation preview

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

application development framework

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

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

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

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.

Functions Created

• playerMove()

• computerMove()

• checkGame()

• buttonEnabled()

• buttonDisabled()

Qt Class Implementations

• QDialog– exec()– show()

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

• QString– No specific functions utilized.

• QLabel– setText( const QString )

QDialog

QPushButton

QString

QLabel

OldGlobals

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)

Final Result

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.

• 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:

Recommended