Search
XNA MVP

Contact
- Email:
nick@gravelyn.com - MSN Messenger:
nickgravelyn@hotmail.com
Donate
Categories
- .NET
- Artificial Intelligence
- C#
- Challenges
- Coding
- Dream Build Play
- HLSL
- Industry
- Java
- My Picks
- Particle Engine
- Silverlight
- Tile Engine
- Uncategorized
- XNA
- Zune
Latest News
- An Idea of Game Packs
- My Creatures
- Research
- Zune Performance
- I’m a Convert
- Releasing Zune Games Sans Source
- Repeater!
- Too Much Fun
- Teh Internetz in Three Dee
- Embedding Silverlight!
Who Does Java?
Posted in Java on March 17, 2008 at 11:06pm.
There are no comments.
I was poking around my server briefly and noticed my final project for a CS class I took was still in there. The proect was to create a virtual mouse-in-a-maze where a mouse tried to find a piece of cheese using various algorithms. Most is pretty basic recursion, but where mine shines is the mouse that can smell the cheese. The way the teacher presented the method was to have the mouse check nearby cells for the cheese and just call that scent. “Screw that,” I said and instead implemented a “scent map” where I would recurse out from the cheese (around obstacles even) to generate the strength of the smell of cheese at any point. The mouse then would “smell” the current cell, move in a direction, and then compare the new cell’s smell to the old one and use that to hone in on it. Pretty fun. (And managed to get me 115% on the assignment
).
Anyway the whole thing is written in Java and you can all have at it if you would like: CS163Project.zip.