Learning Object-Oriented Programming by Creating Games

Computer programming is one of the most important subjects for undergraduate computer science students, it is usually taught at universities during the first few semesters. There are many approaches to teach and learn computer programming. Some may prefer teaching/learning procedural programming fir...

Full description

Saved in:
Bibliographic Details
Published inThe International Scientific Conference eLearning and Software for Education Vol. 1; pp. 20 - 29
Main Authors Végh, Ladislav, Stoffová, Veronika
Format Conference Proceeding
LanguageEnglish
Published Bucharest "Carol I" National Defence University 01.01.2019
Subjects
Online AccessGet full text
DOI10.12753/2066-026X-19-002

Cover

Abstract Computer programming is one of the most important subjects for undergraduate computer science students, it is usually taught at universities during the first few semesters. There are many approaches to teach and learn computer programming. Some may prefer teaching/learning procedural programming first, others object-oriented programming first. In any case, to acquire good programming skills, students need to learn various data types, data structures, control structures, and the syntax of the chosen programming language. Furthermore, and most importantly, they need to acquire good logical and algorithmic thinking. This might cause big problems for new computer science students because acquiring such a thinking takes many years of practice. Students need to solve a huge number of various programming problems from easier to harder ones. But how can teachers motivate students to solve so many and so complex programming tasks? Because most of the undergraduate computer science students like playing computer games, we think creating their own games might be a big motivating factor. In this paper, first, we briefly summarize some possible approaches to teach object-oriented programming (OOP). Next, we describe our method of teaching computer programing at J. Selye University, focusing especially on teaching OOP by developing simple games. We think, to learn OOP, students need to have some basic knowledge of structural programming first. That's why they learn standard C programming language during the first two semesters, and they start learning OOP using the C# programming language only from the third semester. The main part of this article deals with the teaching and learning OOP by creating computer games. By developing a simple tictac-toe game, students learn how to instantiate objects from the "Button " class, and how to use these objects. Later, by creating other puzzle games (fifteen puzzle, matching game, minesweeper), students learn how to create own classes by deriving them from the "Button" class, how to add fields and methods into them. Finally, students will be able to create more complicated games using OOP techniques.
AbstractList Computer programming is one of the most important subjects for undergraduate computer science students, it is usually taught at universities during the first few semesters. There are many approaches to teach and learn computer programming. Some may prefer teaching/learning procedural programming first, others object-oriented programming first. In any case, to acquire good programming skills, students need to learn various data types, data structures, control structures, and the syntax of the chosen programming language. Furthermore, and most importantly, they need to acquire good logical and algorithmic thinking. This might cause big problems for new computer science students because acquiring such a thinking takes many years of practice. Students need to solve a huge number of various programming problems from easier to harder ones. But how can teachers motivate students to solve so many and so complex programming tasks? Because most of the undergraduate computer science students like playing computer games, we think creating their own games might be a big motivating factor. In this paper, first, we briefly summarize some possible approaches to teach object-oriented programming (OOP). Next, we describe our method of teaching computer programing at J. Selye University, focusing especially on teaching OOP by developing simple games. We think, to learn OOP, students need to have some basic knowledge of structural programming first. That's why they learn standard C programming language during the first two semesters, and they start learning OOP using the C# programming language only from the third semester. The main part of this article deals with the teaching and learning OOP by creating computer games. By developing a simple tictac-toe game, students learn how to instantiate objects from the "Button " class, and how to use these objects. Later, by creating other puzzle games (fifteen puzzle, matching game, minesweeper), students learn how to create own classes by deriving them from the "Button" class, how to add fields and methods into them. Finally, students will be able to create more complicated games using OOP techniques.
Author Stoffová, Veronika
Végh, Ladislav
Author_xml – sequence: 1
  givenname: Ladislav
  surname: Végh
  fullname: Végh, Ladislav
– sequence: 2
  givenname: Veronika
  surname: Stoffová
  fullname: Stoffová, Veronika
BookMark eNotjb1OwzAURj3AAIUHYIvEbLCvf2KPKIKCFCkdQGKrbuzrqhVxwHEH3h4qmL4jHel8l-wsz5kYu5HiTkJr1D0Ia7kA-86l50LABbM9Ycn7vGuG8UCh8qHsKVeKzabMu4LTdHLjd9MVwnriNU60XLHzhB8LXf_vir09Pb52z7wf1i_dQ88DCF05iDCi0NpHhx4NjSEq6yNap01SKWJrWotJU0vSQ3BOKaIAhA4AkiK1Yrd_3c8yfx1pqdvDfCz593ILIFXrhdRG_QAOIkM8
ContentType Conference Proceeding
Copyright Copyright "Carol I" National Defence University 2019
Copyright_xml – notice: Copyright "Carol I" National Defence University 2019
DBID 0-V
3V.
7XB
88B
8AL
8FE
8FG
8FK
AAFGM
ABQRF
ABUWG
ABWIU
ACUIN
ADZZV
AEUTQ
AFKRA
AFLLJ
AFOKG
AFOLM
AGAJT
ALSLI
ANJRB
AQTIP
ARAPS
AZQEC
BENPR
BGLVJ
CCPQU
CJNVE
DWQXO
EDUXX
GNUQQ
HCIFZ
JQ2
K7-
M0N
M0P
P5Z
P62
PHGZM
PHGZT
PKEHL
PQCXX
PQEDU
PQEST
PQGLB
PQQKQ
PQUKI
PRINS
Q9U
ZAJUX
DOI 10.12753/2066-026X-19-002
DatabaseName ProQuest Social Sciences Premium Collection【Remote access available】
ProQuest Central (Corporate)
ProQuest Central (purchase pre-March 2016)
Education Database (Alumni Edition)
Computing Database (Alumni Edition)
ProQuest SciTech Collection
ProQuest Technology Collection
ProQuest Central (Alumni) (purchase pre-March 2016)
ProQuest Central Korea - hybrid linking
Technology Collection - hybrid linking
ProQuest Central (Alumni)
Social Science Premium Collection - hybrid linking
Education Collection - hybrid linking
ProQuest Central (Alumni) - hybrid linking
Education Database (Alumni) - hybrid linking
ProQuest Central UK/Ireland
SciTech Premium Collection - hybrid linking
Advanced Technologies & Aerospace Collection - hybrid linking
ProQuest Central Student - hybrid linking
ProQuest Central Essentials - hybrid linking
Social Science Premium Collection
Computer Science Database - hybrid linking
ProQuest Women's & Gender Studies - hybrid linking
Advanced Technologies & Aerospace Collection
ProQuest Central Essentials
ProQuest Central
Technology collection
ProQuest One Community College
Education Collection
ProQuest Central
Education Database - hybrid linking
ProQuest Central Student
SciTech Premium Collection
ProQuest Computer Science Collection
Computer Science Database
Computing Database
Education Database
Advanced Technologies & Aerospace Database
ProQuest Advanced Technologies & Aerospace Collection
ProQuest Central Premium
ProQuest One Academic
ProQuest One Academic Middle East (New)
ProQuest Central - hybrid linking
ProQuest One Education
ProQuest One Academic Eastern Edition (DO NOT USE)
ProQuest One Applied & Life Sciences
ProQuest One Academic
ProQuest One Academic UKI Edition
ProQuest Central China
ProQuest Central Basic
ProQuest One Education - hybrid linking
DatabaseTitle ProQuest One Education
Computer Science Database
ProQuest Central Student
Technology Collection
ProQuest One Academic Middle East (New)
ProQuest Advanced Technologies & Aerospace Collection
ProQuest Central Essentials
ProQuest Computer Science Collection
ProQuest Central (Alumni Edition)
SciTech Premium Collection
ProQuest One Community College
ProQuest Central China
ProQuest Central
ProQuest One Applied & Life Sciences
ProQuest Central Korea
ProQuest Central (New)
Advanced Technologies & Aerospace Collection
Social Science Premium Collection
ProQuest Computing
Education Collection
ProQuest Central Basic
ProQuest Education Journals
ProQuest Computing (Alumni Edition)
ProQuest One Academic Eastern Edition
ProQuest Technology Collection
ProQuest SciTech Collection
Advanced Technologies & Aerospace Database
ProQuest Social Sciences Premium Collection
ProQuest One Academic UKI Edition
ProQuest One Academic
ProQuest Education Journals (Alumni Edition)
ProQuest Central (Alumni)
ProQuest One Academic (New)
DatabaseTitleList ProQuest One Education
Database_xml – sequence: 1
  dbid: 8FG
  name: ProQuest Technology Collection
  url: https://search.proquest.com/technologycollection1
  sourceTypes: Aggregation Database
DeliveryMethod fulltext_linktorsrc
EndPage 29
Genre Conference Proceeding
GeographicLocations Romania
GeographicLocations_xml – name: Romania
GroupedDBID 0-V
3V.
7XB
8AL
8FE
8FG
8FK
ABUWG
AFKRA
ALSLI
ARAPS
AZQEC
BENPR
BGLVJ
CCPQU
CJNVE
DWQXO
GNUQQ
HCIFZ
JQ2
K7-
M0N
M0P
P62
PHGZM
PHGZT
PKEHL
PQEDU
PQEST
PQGLB
PQQKQ
PQUKI
PRINS
Q9U
ID FETCH-LOGICAL-c204t-20cba0449d8a9a5ebcd369da6845f3fda7576af4e7e192c8833eec2ea8222f3e3
IEDL.DBID 8FG
IngestDate Sun Jun 29 16:49:34 EDT 2025
IsDoiOpenAccess false
IsOpenAccess true
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-c204t-20cba0449d8a9a5ebcd369da6845f3fda7576af4e7e192c8833eec2ea8222f3e3
Notes ObjectType-Conference Proceeding-1
SourceType-Conference Papers & Proceedings-1
content type line 21
OpenAccessLink https://www.ceeol.com//search/article-detail?id=761185
PQID 2213790145
PQPubID 1876338
PageCount 10
ParticipantIDs proquest_journals_2213790145
PublicationCentury 2000
PublicationDate 20190101
PublicationDateYYYYMMDD 2019-01-01
PublicationDate_xml – month: 01
  year: 2019
  text: 20190101
  day: 01
PublicationDecade 2010
PublicationPlace Bucharest
PublicationPlace_xml – name: Bucharest
PublicationTitle The International Scientific Conference eLearning and Software for Education
PublicationYear 2019
Publisher "Carol I" National Defence University
Publisher_xml – name: "Carol I" National Defence University
Score 1.6997328
Snippet Computer programming is one of the most important subjects for undergraduate computer science students, it is usually taught at universities during the first...
SourceID proquest
SourceType Aggregation Database
StartPage 20
SubjectTerms BASIC (programming language)
C (programming language)
Colleges & universities
Computer & video games
Computer programming
Data structures
Learning
Learning Processes
Minesweepers
Object oriented programming
Programming languages
Software
Students
Task complexity
Teaching
Teaching Methods
Title Learning Object-Oriented Programming by Creating Games
URI https://www.proquest.com/docview/2213790145
Volume 1
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwfV1LTwIxEG4ULt40Ynwg2YPXhqXbx_ZkIuERE4EYSbiRPqaeBBU4-O-dWReJF29N2j1sM5355psXY3cWlElGBXRTwXFpypxb5SMHW8YcSqdjIh7yaaLHc_m4UIuacNvUaZV7nVgp6rgOxJF3hegVhmJ-6v79g9PUKIqu1iM0jlmzJ1CSqFJ8OKqDlwKReJe6lXP0MxacinUq8uSvyq3syPCUtQ4Vdtns13acsSNYnTNdNzt9zaae6BE-pSbECAnpKGVRvdGe_8r6FdLD9YhyXFtsPhy89Me8nmvAg8jlFgUzeJdLaWPprFPgQyy0jU6XUqUiRWfQCXBJggHEX4HGAQMEAY6MeSqguGCN1XoFlywrjZe5Q8hnkqc2NE4LwBconVb4sYcr1t7_7rIWzs3ycJXX_2_fsBPEB_aHcWizxvZzB7dog7e-U110hzUfBpPZ8zffiIpL
linkProvider ProQuest
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV07T8MwELZKGWADUcSjQAYYrQY_4mRADIXS0hdDK3UrdnxhogVahPqn-I3cpSkVC1u3SI4t2Wffffdm7DIBbTKjU1RTwXJl4pAn2nkOSexDiG3kM7JDdntRc6geR3pUYt-rXBgKq1zxxJxR-2lKNvKaENfSkM9P3769c-oaRd7VVQuN5bVow-ILVbbZTesO6XslRON-UG_yoqsAT0Wo5ngtUmdDpRIf28RqcKmXUeJtFCudycxbgxDcZgoMIPpJqRkvQCrAkijNJEhcd4ttKykl1eqPGw-Fs1Qg8q9RdXSOes2IU3JQbqz5y-JzudXYY5V1Rl_w9Cur9lkJJgcsKoqrvgR9R-YY3qeixwhB6VeK2nqlMbcI6jmyxO8HiqmtsOFGdnzIypPpBI5YEBunQosQ02SOyt7YSAC-eGUjjZMdHLPqarvj4jHMxmvSnfw_fMF2moNuZ9xp9dqnbBexSbK0dlRZef7xCWco_-fuPD_0gD1vmso_XiHG4Q
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=The+International+Scientific+Conference+eLearning+and+Software+for+Education&rft.atitle=Learning+Object-Oriented+Programming+by+Creating+Games&rft.au=V%C3%A9gh%2C+Ladislav&rft.au=Stoffov%C3%A1%2C+Veronika&rft.date=2019-01-01&rft.pub=%22Carol+I%22+National+Defence+University&rft.volume=1&rft.spage=20&rft.epage=29&rft_id=info:doi/10.12753%2F2066-026X-19-002