Gamesman - The "Shall We Play a Game?" Project
     
 
   
 
   
 
   
 
   
 
   
 
   
>>
     Fall 2001 Winners
   Fall 2002 Winners
   Spring 2003 Winners
   Original Gamesman
   About Dan Garcia

 

About > Fall 2001 Project Winners > Snake

Snake

Developed by Deep Debroy and Kim Trinh

“The Gamesman project was a great project assignment that helped us to learn a lot about Scheme. In our Snakes game one of the nifty features we added, besides the compulsory rules was mouse interaction, involved dragging the snake (detecting where the mouse buttons were pressed, the status of the button and the position where the button was released) besides the normal clicking. In the process of implementing the above, we took advantage of the OO based MrEd library that comes with DrScheme.

The biggest challenge for us was to implement a windows event semaphore with MrEd in order to integrate the functional programming paradigm of the gamesman library with the event based programming model of a windows environment like X, Mac or Windows. The seamless integration of the two programming models that the semaphore provided helped us to implement the event handlers within windows classes while making minimal changes to the Gamesman library.”

— Deep Debroy

Download Download the Game! (15 kb)

(screenshot of the Snake game)

 

 

[Dan Garcia icon] [Department of Computer Science] [Official Website for the University of California, Berkeley]


Gamesman ©2003 Dan Garcia. All rights reserved.
Site design by Steven Chan. Site maintained by Hesam Samimi.