Structural Analysis for Simple Games Source Codes Applied to Programming Learning

Elanne Cristina Oliveira dos Santos, Gleison Brito Batista, Victor Hugo Vieira de Sousa, E. Clua
{"title":"Structural Analysis for Simple Games Source Codes Applied to Programming Learning","authors":"Elanne Cristina Oliveira dos Santos, Gleison Brito Batista, Victor Hugo Vieira de Sousa, E. Clua","doi":"10.1109/SBGAMES.2014.20","DOIUrl":null,"url":null,"abstract":"Teaching programming and algorithms is a big challenge, not only in universities but also in schools and training centers. Many proposals for stimulating this process were made in the last years. Previously to this work we had developed JPlay. The JPlay framework was proposed and developed for teaching programming with the development of simple 2D games. In this paper we propose a heuristic based on the structural analysis of the behaviors of a JPlay program and, based on this heuristic, we developed a tool that makes analyzes of JPlay programs, guiding and teaching a student for a specific game development. The heuristic consists on a comparison approach between the student program and the model program and it has four levels of analysis: the sequential code pattern of the JPlay, standardization model, the comparison of similar classes and construction of behavior trees of similar variables. Thus, the comparison consists on searching behaviors of correspondence between pairs of classes among these programs. In this paper we also present a review of results of BrickBreak game based on the source code of the integrated high school students in the course of Computers.","PeriodicalId":280369,"journal":{"name":"2014 Brazilian Symposium on Computer Games and Digital Entertainment","volume":"44 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-11-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 Brazilian Symposium on Computer Games and Digital Entertainment","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SBGAMES.2014.20","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Teaching programming and algorithms is a big challenge, not only in universities but also in schools and training centers. Many proposals for stimulating this process were made in the last years. Previously to this work we had developed JPlay. The JPlay framework was proposed and developed for teaching programming with the development of simple 2D games. In this paper we propose a heuristic based on the structural analysis of the behaviors of a JPlay program and, based on this heuristic, we developed a tool that makes analyzes of JPlay programs, guiding and teaching a student for a specific game development. The heuristic consists on a comparison approach between the student program and the model program and it has four levels of analysis: the sequential code pattern of the JPlay, standardization model, the comparison of similar classes and construction of behavior trees of similar variables. Thus, the comparison consists on searching behaviors of correspondence between pairs of classes among these programs. In this paper we also present a review of results of BrickBreak game based on the source code of the integrated high school students in the course of Computers.
应用于编程学习的简单游戏源代码结构分析
不仅在大学,而且在学校和培训中心,编程和算法的教学都是一个巨大的挑战。在过去几年中,为促进这一进程提出了许多建议。在此之前,我们开发了JPlay。通过简单2D游戏的开发,提出并开发了用于编程教学的JPlay框架。本文提出了一种基于JPlay程序行为结构分析的启发式方法,并在此基础上开发了一个JPlay程序分析工具,指导和教学学生进行具体的游戏开发。该启发式方法采用学生程序和模型程序的比较方法,分为四个层次:JPlay的顺序代码模式、标准化模型、相似类的比较和相似变量的行为树的构建。因此,比较是在这些程序中查找类对之间对应关系的行为。在本文中,我们还介绍了基于源代码的砖块游戏在计算机课程的综合高中学生的结果回顾。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书