Content area

Abstract

Computer programming is one of the main subjects of computer science study programs at universities. Usually, students learn structural programming first, and later they start to learn object-oriented programming. At J. Selye University, computer science students learn structural programming in standard C programming language first, and later, in the second year of their studies, they move to object-oriented programming in C#. In this paper, we briefly overview some of the difficulties that may occur during the teaching of computer programming, especially during object-oriented programming courses. One of the problems that students can meet after a few weeks of participating in a programming course is a lack of enough motivation to develop an application. The solution to this problem can be in the development of computer games, which makes programming more enjoyable and can motivate novice programmers. In this paper, we also show, how the button component, the first component that students are familiar with in C#, can be used for instantiating an array of button objects in the C# programming language. Next, we give some ideas for using such an array of buttons to create computer games. Our goal was to find out simple computer games, that are easy and quick to develop but are interesting and motivating for novice programmers. In our opinions and experiences, the presented games can be used successfully to introduce object-oriented programming. Finally, we describe some of our observations and draw some conclusions.

Details

Company / organization
Title
IDEAS FOR CREATING SIMPLE GAMES USING THE BUTTON COMPONENT TO INTRODUCE OBJECT – ORIENTED PROGRAMMING
Volume
1
Pages
56-68
Publication year
2023
Publication date
2023
Publisher
"Carol I" National Defence University
Place of publication
Bucharest
Country of publication
Romania
Source type
Conference Paper
Language of publication
English
Document type
Conference Proceedings
ProQuest document ID
3165914227
Document URL
https://www.proquest.com/conference-papers-proceedings/ideas-creating-simple-games-using-button/docview/3165914227/se-2?accountid=208611
Copyright
Copyright "Carol I" National Defence University 2023
Last updated
2025-02-13
Database
ProQuest One Academic