Presentation 2017-03-10
An Applied C Programming Exercise with Card Game Strategy and a Contest Style
Fumiya Gemba, Naoki Hanakawa, Hiroyuki Tominaga,
PDF Download Page PDF download Page Link
Abstract(in Japanese) (See Japanese page)
Abstract(in English) We have proposed an applied C programming exercise with a card game strategy for knowledge information processing. We adopt a Poker game with a simple draw type for single player and a contest style in a classroom. We have developed a contest management server WinT. A student must implement a strategy program by C language, which aims to make a poker hand by changing cards in his hand set. WinT manages uploaded strategies of each student during a contest. It calculates a game score of each strategy by many executions with decks. It notifies a result and makes a ranking table public. The methods stimulate students' competitive volition and promote their motivation to revise a program in trial-and-errors. The final score of each student is the best score from his submitted strategies. In this paper, we improve internal evaluation of a submitted strategy program as code quality. We implemented functions for time-series view of submission and for visualization of code feature analysis. We adapted a code metrics ABC size for each user's function by AdLint tool. Moreover, we introduce a new metrics Q-ABC for a whole strategy code. We implemented the function and GUI for visualization in WinT. It makes students revise a code as refactoring. We consider the results of an educational practice in 2016. We could confirm the efficiency of our approach and functions for raising consciousness of refactoring.
Keyword(in Japanese) (See Japanese page)
Keyword(in English) Applied C programming exercise / Card game Poker strategy / Contest style / Code metrics / ABC Size
Paper # ET2016-109
Date of Issue 2017-03-03 (ET)

Conference Information
Committee ET
Conference Date 2017/3/10(1days)
Place (in Japanese) (See Japanese page)
Place (in English) National Institute of Technology, Niihama College
Topics (in Japanese) (See Japanese page)
Topics (in English) STEM (Science, Technology, Engineering and Mathematics) Education, etc.
Chair Yukihiro Matsubara(Hiroshima City Univ.)
Vice Chair Shoichi Nakamura(Fukushima Univ.)
Secretary Shoichi Nakamura(Yamaguchi Univ.)
Assistant Yuichiro Tateiwa(Nagoya Inst. of Tech.) / Yuuki Nakayama(Fukushima Univ.)

Paper Information
Registration To Technical Committee on Educational Technology
Language JPN
Title (in Japanese) (See Japanese page)
Sub Title (in Japanese) (See Japanese page)
Title (in English) An Applied C Programming Exercise with Card Game Strategy and a Contest Style
Sub Title (in English) Display Function of Code Metrics by ABC Size and Correlation with Execution Score
Keyword(1) Applied C programming exercise
Keyword(2) Card game Poker strategy
Keyword(3) Contest style
Keyword(4) Code metrics
Keyword(5) ABC Size
1st Author's Name Fumiya Gemba
1st Author's Affiliation Kagawa University(Kagawa Univ.)
2nd Author's Name Naoki Hanakawa
2nd Author's Affiliation Kagawa University(Kagawa Univ.)
3rd Author's Name Hiroyuki Tominaga
3rd Author's Affiliation Kagawa University(Kagawa Univ.)
Date 2017-03-10
Paper # ET2016-109
Volume (vol) vol.116
Number (no) ET-517
Page pp.pp.89-94(ET),
#Pages 6
Date of Issue 2017-03-03 (ET)