ISEDJ

Information Systems Education Journal

Volume 14

V14 N2 Pages 14-18

March 2016


Teaching Case

Wooden Peg Game: Implementations as Both a Web App and as an Android App


Cynthia Jo Martincic
St. Vincent College
Latrobe, PA 15650, USA


Abstract: Mobile application development is currently an important component of CS/IS education. Because of the rapid rate of change in the mobile application field, there are many websites that provide instructional material in tutorial format, but it is difficult to find a textbook that includes mobile application programming assignments and exercises. This paper presents two assignments, one as a web app implemented in HTML and JavaScript and one as an Android app implemented in Java using Android Studio, for an introductory level course in mobile application development. Both assignments implement the same game: a digital representation of the wooden peg game in which 15 pegs are arranged in a wooden triangle. When playing the game, one initial peg is removed from the board. Subsequent moves are made by jumping a peg over a second peg and removing the second peg. The ultimate goal is to remove all but one peg. The web app version of the game is assigned to students first, after other introductory html/JavaScript assignments have been completed. The html/JavaScript version can be used as an example of multi-platform development using PhoneGap or other multi-platform development environments. The Android app version of the game is assigned after other introductory Android applications have been completed.

Keywords: application development, mobile app development, Android Development, HTML , JavaScript

Download this article: ISEDJ - V14 N2 Page 14.pdf


Recommended Citation: Martincic, C. J. (2016). Wooden Peg Game: Implementations as Both a Web App and as an Android App. Information Systems Education Journal, 14(2) pp 14-18. http://isedj.org/2016-14/ ISSN: 1545-679X. (A preliminary version appears in The Proceedings of EDSIG 2015)