Monday, February 20, 2012

Programmer's Pursuit - Project Site Up

The project site is now operational:
http://code.google.com/p/ics-111-programmers-pursuit/

There is nothing much on the site yet, but it is there.

No work was done on this project over the weekend due to studying for exams and various other schoolwork; that should mostly be cleared up by Wednesday, so hopefully I will be able to get back to work on this in the near future.

I will have to think about how to actually store the data for use in generating instances of the Room, Item, and Person classes.  The data would have to be hardcoded or stored in some external files.  I think that putting the data for the various rooms and such into the code itself would save time since the program would not have to access other files.  On the other hand, CSV files (or even plain text if necessary) are much easier to work with for data, and having the data outside of the program allows for the basic program to be used for many different programs later on; to create a new game, all the developer would need to do is write up a new data file.

The game will involve the user writing up some Java code as part of their "assignment."  In the original Lisp code, this involved the program accepting input until receiving a particular string.  This worked back then because the students in that class used Emacs to write their Lisp code.  However, the ICS 111 students use jGRASP, which differs from Emacs in some statistically significant ways.  Essentially, I will have to find some way to launch jGRASP (or whatever IDE they want to use for Java) from within the game and then resume the game once the player has completed the programming assignment.

No comments:

Post a Comment