|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
[appleeaters]Compare :)
You can compare your own strategy with a somewhat decent attempt at: www.noka.dk/robots
The map size is 20 to 50 and the game.txt is generated on each reload, so you can download it and try it yourself - just remember to fill in the "randomsleft" which doesn't work in the current version (BUG). Feel free to post what you think of the strategy I'm using - I know there are some things that don't work quite right (danger-detection for one thing ...), but comments are always welcome. Oh, and the rendering doesn't always work that well for some reason or other. Alright, time to go back to my studies ... have to focus on exams, focus ... And btw - how about not just crashing out at 60 seconds max - but simply having a counter and then stop the game at 60 seconds and assign the points aquired at that time? That seems a lot more fair than the current rules. |
|
#2
|
|||
|
|||
|
[appleeaters]RE: Compare :)
could you post the code you used for the table creation?
thx. |
|
#3
|
|||||
|
|||||
|
[appleeaters]RE: Compare :)
Here's what I use. It's meant to be used inside pre tags to get a monospace font which I found renders faster for me than tables. Changing to tables is trivial.
php Code:
|
|
#4
|
|||
|
|||
|
[appleeaters]RE: Compare :)
Well, I decided not to compete and focus on exams and work instead ...
So I added a show_source - I guess my code can serve as inspiration or perhaps an example of how not to code PHP ;) It needs at least one total rewrite ... |
|
#5
|
|||
|
|||
|
[appleeaters]RE: Compare :)
thx, contest doesn't end until june 21, does your school go that late? (mine is out).
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Older Contests > [appleeaters]Compare :) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|