View Single Post
Old 23-02-2007, 03:40 AM   #61
Eagg
Forum hobbit

 
Join Date: May 2006
Location: ,
Posts: 29
Default

<div class='quotetop'>QUOTE(Nitro @ Feb 21 2007, 11:15 AM) [snapback]280318[/snapback]</div>
Quote:
These are some very nice examples. I didn't try them all, but the ones I tried all worked good.

I have only one piece of advice. If you write code with the purpose of sharing it, it is a good practice to add a lot of comment to the code, so others can read it easily. Especially when it is about complicated algorithms like the AI in some of the games.

I also wrote a version of battleship in VB and it is nice to see that you use the same algorithm.
[/b]
Tbh. I don't think comments would help making the code more readable, this code wasn't written to be easily understandable but to be compact and as confusing as possible :bleh: .
Basically anything considered bad practice at "good programming".

This is no rant on your stuff Guesst, I enjoy your pieces.
Code hacks are a bit like art... nobody claims that art needs to be userfriendly.
Eagg is offline                         Send a private message to Eagg
Reply With Quote