For non-programmers: to execute the game, just download the JAR file above (click here).
Some trivial info: Runs on any platform with JRE/JDK installed.
The app was developed for Game Theory coursework for 1 MA Economics students in Department of Economics, Madras Christian College, in association with Arun Koshy, Assistant Professor, Dept. of Economics, MCC.
Simple implementation of Centipede game using Java.
This challenge was launched to introduce the concept of "reverse engineering" to my students in Department of Mathematics, Madras Christian College. Aim is to reverse engineer this game and find how the app works - and replicate the concept. If you are going to take up this challenge, I would recommend you
- to skip the "science behind it" section below.
- do not read the java file in repo above
- download the"JAR" file, execute it in and out, see what the app does.
You can read more about it on my Lecture Diary Blog
fun spoiler: if you are interested in Reverse Engineering Challenge, please skip this link
Read more about the Game theory bit of it here: Centipede Game on Wikipedia
Added reset button and cleaned up code
Fixed issue with limits going less than 2
Backbone, implemented algorithm
Built GUI
Make students replicate this code, by reverse engineering: aim is to introduce the term "reverse engineering".
Enable two player over LAN - explore possibilities with students.
Well, it should just work. This is my first Java app - though I have played with Ionic/AngularJS1, BASH et al in past. This is more of a learning project for me, myself - so code might be slightly messed up.
Explicitely mentioning it here for the sake of my students: ".... offer you this License giving you legal permission to copy, distribute and/or modify it (software). For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software..."
Read more here: GPL in Wikipedia - Copyleft