/*************************************************************** * Project: Minesweeper - Final Project, CSCI 131, Fall 2013 * Author: JT Kearney, Sophomore, College of the Holy Cross * Date: 12/6/2013 * Course: CSCI 131, Prof. Walsh ***************************************************************/
JT's submission for the CSCI 131 final project (our "CS 1, introduction to programming" course) was outstanding.
JT graciously agreed to let me post his solution. It was originally written in C++, using a simple
SDL/X11 wrapper I provided for the graphical user interface. Thanks to the emscripten C++ to javascript backend for the gcc/llvm
compiler, is was pretty trivial to port JT's code to run in the browser.
Note: Any bugs or slowness is likely due to my changes and the emscripten translation—JT's original
native linux code worked great! I have tested this only in Chrome (works fine) and Internet Explorer 9 (does not work
at all due to limitations in IE9), so if it doesn't work on your platform please let me know.
- kwalsh
Console output: