Window Puzzle Game
Mystery Box is a Windows game I wrote a while ago using VC++ in MFC. It's based on the classic game called Black Box. Unlike Black Box game, this game support multiple colors of marbles. At the start of the game, a fixed number of colored marbles are randomly hidden in different locations on the board. The purpose of the game, of course, is to correctly guess the locations of the marbles in the center squares black box with as few physical light beam probes as possible. The light beam consists of 6 colors: blue, red, green, yellow, purple, cyan. Different colored marbles have different properties. Different colored marbles has different fixed properties for different colored light. Each colored light can either be deflected, transmitted, or absorbed. For example, red marble absorbs red light and deflects blue and green lights. Black marble absorbs all colors. The control for the game is very intuitive. Toggle the marbles in the center squares by pressing either the left or right mouse button to place the marbles. On the outside squares, press the right button to shoot out a virtual beam of light which is used to test the expected light ray deflection with the current placement of the marbles. Press the left button to shoot out a physical beam of light. Let me know if you have any comment so I can improve the program. Thanks.
![]() |
|---|
Stock Program
K-Line is a Window program I wrote using VC++ in MFC. It can download/update any stock's daily pricing information from the internet and display the price in a graphical interface. Alternatively, the data can be entered manually from an intuitive spreadsheet-like interface. I'm currently looking to extend this program in two directions. First of all, I would like to add the capability to display and store stock's fundamental data in addition to the pricing data. Those fundamental data include P/E ratio, book value, revenue, sales, dividends, etc... Secondly, I would like to add some algorithmic technique to filter the stocks and pick potential winners. I've been exploring techniques in neural networks. If you have any information about a server containing free downloadable fundamental data or about technique on picking stocks and would like to share with me, please contact me. Thanks.
![]() |
|---|
Java Applet 2D Animation Program
I wrote this simple java applet program on a UNIX workstation for students of CS326A Motion Planning class at Stanford University. It animates simple 2D graphics. The animation data files are located on a server, and can be downloaded on demand. The data files are in a simple but non-standard binary format. If you are interested in the file format or want the program that create the files readable by this 2D viewer applet, let me know. A modified version of this viewer program is used in the hide-n-seek research project.
My research-related programs.
Back to my home page.