Click to See Complete Forum and Search --> : Future Contest Suggestions
Raedwulf
Dec 5th, 2005, 01:56 AM
To make it more interesting - obstacles would be good :) - objects obscure vision too?
Though its hard to getobjects in the way between a cannon and a helicopter ;)
but you could have 'clouds' which obscure the vision of the cannon.
Devion
Dec 5th, 2005, 07:01 AM
Maybe add commercial airliners that are landing as obstacles?..
Mmh.. maybe I should put my coffee usage down by a bit =)
eyeRmonkey
Dec 5th, 2005, 08:48 AM
Devion, Raedwulf, are you guys going to participate in this contest (it will be ported to .NET)? There hasn't been much interest in the Chit-Chat thread about the contest. Its always more fun with more people.
Raedwulf
Dec 5th, 2005, 09:10 AM
I'm for vb6 ( I think Merri would be too) - not .net :)
Pino
Dec 5th, 2005, 09:11 AM
It will run in both langauges. vb6 and .Net (If I get more than 2 .Net users!)
Pino
Dec 5th, 2005, 09:11 AM
http://www.vbforums.com/showthread.php?p=2267917#post2267917
Raedwulf
Dec 5th, 2005, 09:28 AM
How much left of the engine merri?
Merri
Dec 5th, 2005, 10:52 AM
To be done:
- provide information about the surroundings (most importantly tell cannon about the helicopter)
- the helicopter
- fix an angle rotation bug or workaround by changing the method
- human control class, script control class and helicopter AI control class (the last one is what I do in my spare time once the engine is ready enough for your use)
If I do just the minimum requirements I might have it ready by tomorrow. I had a bad day today so I didn't do a whole lot, though did solve a few issues to make sure it is easy to find out if somebody cheats. There is a public sprite class which contains the details of all the sprites, and of course accessing that information from the AI class isn't a good thing.
Oh. The engine now supports 32767 sprites. So we could have extra category for shooting down multiple helicopters, or having multiple cannons and one helicopter. The benchmarking could be simply done by placing several cannons on the same spot: since the helicopter doesn't really get affected by the shots, it would be just like having all separate runs the same time. No need to do it all many times :)
Currently the sprite adding code is a bit messy, but it looks like this:
spriteCannon = SpriteData.AddSprite("Cannon", 100, 100, 128, True, New clsAI, App.Path & "\cannon.bmp", 16, 16, 16, 89, 29)
The interesting part is New clsAI. That is how you add an AI handler. I can also use New clsHuman to add a human controllable sprite, although that doesn't support anything else than shooting at the moment. In plain English: human controlling will be done via a same kind of class the AI is.
I'm tired. I'm off to sleep.
Raedwulf
Dec 5th, 2005, 11:43 AM
ok sounds good - sweet dreams :)
eyeRmonkey
Dec 5th, 2005, 03:07 PM
Looks great Merri. I can't wait to get my hands on it. I'm actually quite busy at the moment trying to finish my current project because I know that once I start this contest that is all I will be doing for a while. :)
jcis
Dec 5th, 2005, 09:29 PM
I really like your idea Merri, and just wanted to say I think that, for a contest, a Defend AI would be better than an Attack AI, mainly because I see the cannon could make a perfect shot, but in the wrong time (the target could move away when the bullet is in the air), and finding WHEN is a good time and when its not, will be very relative. The best AI could fail just because couldn't GUESS the move.
In the other side, I think a Defend AI wouldn't have this problem.
Situation: The cannon is at some position, and the enemies shoots at it, then the cannon use bullets to destroy enemies bullets, that come from diferent enemies at diferent speeds/angles. The cannon that finalizes less damaged in a certain period of time is the winner. This also is much easier to test. The better AI will be the one that leaves the cannon in the better conditions.
Merri
Dec 5th, 2005, 09:39 PM
That isn't really an AI, it is more of just pure calculation. I explained in the other topic why guessing (= thinking) is more of an AI. What makes someone a good shooter in the real world? What makes a good assassin? He can't know every possible move someone does. But a good assassin never misses. What makes him not to miss? This is where the fun of this contest is coming of, I believe :)
dglienna
Dec 5th, 2005, 09:47 PM
Objects that change speed and course are very hard to hit. That's why there are heat-seeking missiles out there.
Merri
Dec 5th, 2005, 10:04 PM
Well, the helicopter won't be ultra fast. I try to find a good balance for how it works. And in the end, doing a perfect AI for this might be too good for a game (except if someone is a Finn... er, a masochist). Though I don't know if the engine will ever go as far as to become a real game. That can be thought about in the future.
jcis
Dec 5th, 2005, 10:14 PM
That isn't really an AI, it is more of just pure calculation. I explained in the other topic why guessing (= thinking) is more of an AI. What makes someone a good shooter in the real world? What makes a good assassin? He can't know every possible move someone does. But a good assassin never misses. What makes him not to miss? This is where the fun of this contest is coming of, I believe :)
I understand you, believe me. But, I really can't see how you're gonna take care of the LUCK factor.
Example:
eyeRmonkey makes his AI. I make my AI.
You provide your Helicopter fixed path. The one that will be used in the contest.
The time it takes to the helicopter fly to destiny = 20 seconds.
The helicopter move fast 5 seconds and then hides behind a cloud for 10 seconds, finally it appears visible moving slow for the last 5 seconds.
My AI decides to shot during hte first 5 seconds, and do some blind shots behind the cloud, eyeRmonkey's AI decides to wait the best moment, and doesn't shot.
When time = 15 the helicopter come close the cannon being visible, My cannon has no more bullets but eyeRmonkey has his cannon full of bullets, then he fires all the bullets in the last 5 seconds.
He wins, he gets a better hit percent than me.
But that, was just because we used that object path, what would happend if the helicopter would move faster and going far, far away from the cannon in that last 5 seconds? I would be the winner.
Thats what I mean, things are relative to the object path of your choice.
An assasin knows when the victim will remain quiet, there are signs, here the only sign is the time left, but I don't think its enough. The results will be diferent depending on the object path of your choice.
Merri
Dec 5th, 2005, 10:18 PM
We won't use a single path of course. There will be multiple ones made. Also, I've thought about not limiting the time and ammo, so the information you get is if the helicopter going to go off the screen soon. Sounds better?
Oh, and there are more signs than that! If a helicopter stops for some reason, it can't accelerate to full speed immediately. Changing altitude will also slow down it's speed. It is possible to measure what the helicopter will be doing by following the given distance and angle values. Storing and handling the information is up to you.
Devion
Dec 6th, 2005, 01:33 AM
I'll prolly accept the challenge when it's ready :)
Merri
Dec 6th, 2005, 03:03 AM
Then a question: I noticed having only 256 angles will give some headache on lacking accuracy. So... do people want two or even four times more accurate angles? This would allow better control on where the bullet could hit.
I've been tweaking the engine quite a bit. It now makes 400 internal processings in a second and rolls 40 FPS to the screen. This gives us accurate bullets and smooth control, but the AI can't be very heavy with its mathematics. This means any heavy calculations must be processed one command at a time. So a code like this:
For A = 0 To 255
CheckAngle A
Next A
Would be like:
Static A As Byte
' this will increase A by one and jump to 0 if it goes over 255
A = CByte((CInt(A) + 1) Mod 256)
' alternative would be:
'If A < 255 Then A = A + 1: Else A = 0
' then do the loop stuff
CheckAngle A
Though there are problems with this and it requires different way of thinking than the regular loops. You just have to make loops happen one at a time. You can also make multiple loops run simultaneously, so you can consider that as a plus. I feel people will need help with this, so I hope people are willing to help each other with this issue, even though this is a contest :)
Raedwulf
Dec 6th, 2005, 07:00 AM
1024 different angles tends to be the favourite of some old games/stuff I think.
eyeRmonkey
Dec 6th, 2005, 08:49 AM
Yeah, more angles would probably be better.
I hope people are willing to help, because from Merri's description so far, I am going in to this blind, but ready to learn. :)
Merri
Dec 6th, 2005, 09:12 AM
I wonder what I've done today. It is like if the past 14 hours have been for almost nothing. This day really went fast and I didn't do much anything. Oh well, it is the independence day. But I really wonder where my day went. I didn't even play Civ III and still it seems the day is over for me already.
Maybe it is a sign of the shortest day of the year coming...
Humm... err... no.
Lets see....
- angle bug fixed
- angle improved to 1024 degress
- some kind of simple sprite animation added (follows angle)
- timetick added (can be used to follow time, similar to Windows' GetTickCount in a way)
- wrote a few forum messages about it and processed my thoughts further
Anyone know a good secretary? I might have a need for one. I can't even keep my own thoughts in order! :D
eyeRmonkey
Dec 6th, 2005, 11:10 AM
My secretary is named 3M (Sticky Notes ;)). I tend to forget what I wanted to post about in the time it takes the internet to start so I write a sticky note about it as soon as I think about it.
Sounds great. After the contest we should take the winners AI and turn the whole thing into a game. You would have the option of being the gun, or the object and we might be able to make 2 player also. The AI's would need to have difficulty levels added otherwise it would always be very hard for the human player.
Raedwulf
Dec 6th, 2005, 11:33 AM
I didn't even play Civ III and still it seems the day is over for me already.
I used to be addicted to this and CivII :) - thank goodness that is over- dman Im playing Q3 now lol :D
Devion
Dec 7th, 2005, 01:45 AM
For the alliance! ... WoW here :]
Raedwulf
Dec 7th, 2005, 02:29 AM
Gosh i was kinda addicted to War 2 for quite a while 7-8 years ago - so they have reintroduced the line 'For The Alliance' in WoW? - they forgot about it in War3 - but the elven archers in War2 used to say it.
Devion
Dec 7th, 2005, 02:36 AM
It's a /silly (joke) for a few races I think.. the gnomes just yell For Gnomeregan when you do /charge :)
WoW is good, yet heavily addictive till yur lvl 60 and find that you need a bloody decent guild to go on.. :(
Raedwulf
Dec 7th, 2005, 02:45 AM
hehe :) - I hate MMORPGs because they are 'addictive'I keep on playing them for no reason until i finally delete them off the harddisk :). They tend to require time and not skill to paly - so I have resigned to FPS - and I used to play RTS games(but I'm not very good at them because I'm slow at learning hotkeys)
Dave Sell
Dec 7th, 2005, 11:16 AM
New Contest Suggestion: Random Comedic Post generator.
Please read all before you disregard. This could be an infinite source of fun and humor. The idea is to have a program all of us would install that executed everytime we logged into our own machines.
This program would shoot a random posting to VBF that is very humorous.
Each message consists of 3 parts:
"I need (code) / please give (code) / howto (code)" +
"Randomly generated technology" +
"randomly generated block of code (language randomized) / attachment of randomly chosen file from user's hard-drive / randomly generated VB project"
There is never any attempt for the auto-poster to give any code or problems of any specificity. Just fire off the random posting and see who replies!
Some examples could be:
- Hi I need a ieee 1394 Server.
- Hi I am new to vb.net [post random block of code - language unimportant]
- Hi I need to know how to print on check's using a receipt printer?
- Hi I need to konw how to printing on check ues a pos printer?
- Hi I need code to enter upc win I scann it. I scann into a text box and then enter it on http://www.upcdatabase.com/item.pl [post random block of code]
- Hi How to network a mac os 10.1.5 to windows xp home?
- Hi I need to know how to Access search for data? The code I need is for Access 2003. [post random block of code]
- Hi How to copy 3.5" disk to cd? Using vb 6.0.
- Hi I need to make a web page in php and search a my SQL database. For data in three the field. And right back to the database.
- Hi I need to search a Microsoft Office Access 2003. vb 6.0 for name of d.i. number. I have install mysql.
- Hi I need to know win a bid on ebay will be ending. Not in 24hr but 12hr. [post random block of code]
- Hi I need it to goto http://bob5731.no-ip.info/web [post random block of code]
- Hi How to clear a text box?
- Hi Coed will not show msgbox. [post random block of code]
- Hi How to stop downloading in windows xp home?
- Hi How to resize automatically?
- Hi How to open a web page in vb 6.0?
- Hi Need to save all the date in ms access 2003 forum www.upcdatabase.com code in vba [post random attachment from hd]
- Hi how to use a Adodc in vb 6.0 and ms access 2003. sm file is hare. [post random attachment from hd]
- Hi I need code to fix run-time error 62 ath not find in a text file.
- Hi run-time error 70 Permission Denied. How do I fix it. [post random attachment from hd]
- Hi I it want for the file to CHANGE. [post random block of code]
- Hi I need file not found code.
- [post random block of code] - no description of problem whatsoever
- Hi If the c:\pos\pole.dat is pole os I can open it. [post random block of code]
- Hi The cdoed in qbaisc and I need it in vb 6.0 [post random block of code]
- Hi How to make IBM ViaVoice 9 works with MSN messenger?
- Hi I have files that will all be changeing. So how do I put it in a loop. [post random block of code]
- Hi I need a wireless network monitor.
- Hi I need a cd-rom database to search cd's for files.
- Hi Can help fix the code or make a Report in vb 6.0? Ues Report files to help make the Report. [post random block of code]
- Hi I need to print to list box. File format for POLE.DAT [post random block of code]
- Hi how to make a FTP server in vb 6.0 for windows xp home
- Hi Can you all help get the code fix? [post random block of code]
- Hi I need hlep makeing a file using a input box? Exp you Enter Your name as bob the file will be bob.pos
- Hi Run the file Project11.vbp. Goto the setup menu and test it for me and fix for me if you wood. Can you all help me get the frmbarcode forum to Show. This writes the file [post random attachment from hd]
- Hi run-time error "54" bad file mode [post random block of code]
- Hi How do I make a Hit Counter for ny web page? [follow-up with: "Can you all make the file for me."]
- Hi I need to get data form http://www.upcdatabase.com
- Hi How do you get the week of the year? [follow-up with copied posts of replies from other posters]
- Hi I need to print SHIPPING label for the psup for free.
- Hi help form is not e-mail me. I will be useing http://www.no-ip.com my e-mail ir *****@sbcglobal.net I ueing Lil' http server.
- Hi I need Tic-Tac-Toe to use a network.
- Hi I need a clok Calculator. To take the ebay and the windows clok. Tale me win the biduing will to done on ebay.
- Hi help form is not e-mail me. I will be useing http://www.no-ip.com [post random block of HTML code]
- Hi I need a database for my pc shop. It need to take Phone and i.d. number.
- Hi I need to add check reading. It is for my pos. I need help makeing it.
- Hi I need the key code for [randomly generated pirated software]
- Hi free chat server and easy to setup in windows xp home.
- Hi I need web server for windows xp home.
- Hi I need my password fixed. I need it to get and put password in pos.pos? [post random attachment from hd]
- Hi I need to key code in windos and dos using in vb 6.0 for all the key and code to do it. [follow-up with: "BINOG"]
- Hi How to make a passwrod in vb 6.0 [follow-up repeating the word "password"]
- Hi how open the usb port in vb 6.0
Double-posting would be encouraged. The :mad: icon should always be used. The list could go on and on! When good-intentioned folks here at the forums start to reply, well hold onto your hats folks, that's when the fun begins!
Follow-up posts can be nearly identical to the original post, more randomly generated blocks of code, or clever replies like "No help yet", "how do debug it? ", "how do I do it?", "code no work", "no code.", "I not have code yet.", "Not working right.", "Is not working for me", "not work yet.", "Can you all help?", "!!!!", "How do I do.", "did not work.", "can you install for me. ", "what are doing?", "I need code to do it.", "no help.", "I can find it?", or simply "still no work"! Just parse the original post and reply with a similar variant! The fun never ends!!!!!!!!!
P.S. The poster's name should be randomly generated, too. Something like bobxxxx, where xxxx is a randomly generated number like, oh i dunno, 5731 for example...
Devion
Dec 7th, 2005, 11:34 AM
Interesting idea.. though I doubt the Mods here are going to allow endless amounts of bull posts on their DB :)
eyeRmonkey
Dec 7th, 2005, 02:39 PM
Its a good idea Dave Sell, but, as Devion said, the mods won't like it at all. I also think the gun contest is more challenging. (EDIT: Ahhh... I get it. It was a joke. I'm an idiot. :))
Merri, how are things going with the engine?
umilmi81
Dec 7th, 2005, 03:52 PM
LOL!
Are you picking on my most favoritest user?
I'm serious. I love his posts. They make me laugh. I forward them to my friends.
Dave Sell
Dec 7th, 2005, 06:24 PM
:mad: Now you can forward post #278 for those who have missed out on all his previous posts. All the "random" elements I simply copied and pasted from all his old posts - verbatim! I didn't change a thing! I spent my whole morning on it LOL!!!
Merri
Dec 7th, 2005, 11:30 PM
how are things going with the engine?
I had a free day yesterday. So... uh, yeah, Civ III won this time. I shouldn't have bought that game a few months back. I just recently noticed I actually had the game. So what do you do: place the CD on the tray and try it out... and... get addicted.
Anyways, today I've done atleast something: I got rid of "KAFPE" and replaced it with ArrayInit function. I'm submitting this information to FAQ.
Why oh why I decided to make a "proper" engine? Instead of doing just a simple two day doodle I'm making a monster! :D
eyeRmonkey
Dec 8th, 2005, 12:08 AM
You are making a full engine because you are ocol like that and we can hopefully turn it into a (successful?) community project. It might be the first project in the project communications section that evetually is completed since... sandpaper?
Raedwulf
Dec 8th, 2005, 02:20 AM
Sandpaper? - is that what you call the strips of tissue paper they have glued together :D
Raedwulf
Dec 8th, 2005, 02:27 AM
Merri- missed your post with the peliminary version of the gunAI - just tried it and it looks good so far :) - just wondering - is it gonna be something like Worms II but real time?
Merri
Dec 8th, 2005, 03:22 AM
Pretty much like that. Of course you can turn that into a Worms II style game, too.
Here is the current version for you to play around with, maybe that'll get me back into actually doing it as I've released "bad code" and I must release it complete and better:
Edit Ignore the EXE file, it is old. Just recompile it or run only under IDE, makes no big difference.
Raedwulf
Dec 8th, 2005, 04:38 AM
hehe :) sure - no probs Merri :)
Some of your tricks are new to me like I never knew the form had a backbuffer :)
Damn my past projects would've been betterif i knew that lol :).
Raedwulf
Dec 8th, 2005, 04:43 AM
Hehe the coding looks much better than mine ;)
Raedwulf
Dec 8th, 2005, 04:54 AM
Looks very nice - in the final version can the cannon move?
Cheers.
Merri
Dec 8th, 2005, 05:19 AM
No, it stays always where it is.
Form has no backbuffer, it is made using API :) Or well, form does create a backbuffer for itself if you use AutoRedraw: the backbuffer is then made visible each time the form is refreshed (ie. Form1.Refresh). But it is slower than using API made backbuffer.
Humm... now that I look at it, the code I've done is quite low on amount. A lot of my time has gone to keeping things bug free and working properly. I wonder if I have any bug in the code at the moment. Hmm... I guess this thing we call "kaamos" is hitting me pretty hard right now, it is dark most of the day, you can't see the sun in many weeks and so on... I haven't been in a good coding mood in the last few days.
Raedwulf
Dec 8th, 2005, 09:11 AM
ooops...was checking through it quickly :blush: hmmmmm if you're not in the mood to do it i might lend a hand and see what i can add to it :).
Cheers.
Devion
Dec 8th, 2005, 11:59 AM
I can safely say it has passed the FPS test.. It's almost glued at 40 with >2500 bullets on screen :)
(AMD X2 4200+ though..) :)
Merri
Dec 8th, 2005, 12:49 PM
Try setting the FPS to 400. It worked finely on my computer and the processor usage varied around 2 - 5% (I had other programs open though, so I'd say the usage was around 1 - 2%). I have a 2200+ Athlon XP @ 1750 MHz. The only way to make it really stay at given FPS is to make it multithreaded so that the game main loop thread is given a higher priority.
SetPixel would cause a lot of slowdown if there were lots of bullets drawn on the screen (bullets not on the screen are not drawn at all). I know a technique that'd be many times faster... actually I'm planning to use it instead of BitBlt if I'll ever start really optimizing all the speed critical stuff.
Btw, try changing the bullet speed to 39 or 18 or 8 when you use FPS 40. 39 appears to be a good speed for rapid fire.
jcis
Dec 9th, 2005, 01:09 AM
40 FPS here, Athlon XP 2000
Raedwulf
Dec 9th, 2005, 01:48 AM
SetPixel would cause a lot of slowdown if there were lots of bullets drawn on the screen
I guess you mean directly modifying the bitmap memory instead?
setting it to 400fps doesn't work well on P4 2.4Ghz here (no HT - one of the old ones) - the max it has is around 240 fps. At home on my AMD Sempron 2400+ it sometimes goes lower than 40fps when theres lots of bullets e.g. 2000+ (but I guess for the purpose of the game we won't have that many bullets on screen).
So I'll say 40-50fps is ok for those with slightly older machines.
Cheers.
Devion
Dec 9th, 2005, 03:25 AM
Who knows? Maybe add power ups? Shoot the power up and get Rapid fire mode or heat seeking missiles ;)
Raedwulf
Dec 9th, 2005, 03:45 AM
Hi I've made some modifications to Merri's code.
Changes:
-No more backbuffer picturebox - replaced with DIB
-No more label for display - DrawText to screen
-Direct blitting to form.
-Replaced SetPixel with array hacking
-I guess must be slightly faster than original (but you can't directly compare because the rendering region is smaller on the original by quite a few pixels.)
Cheers.
Devion
Dec 9th, 2005, 04:15 AM
but what if I want full screen rendering? (pref. with pixel shading, vertex fog,.. mmh..).. blt is good enuf I guess =]
Raedwulf
Dec 9th, 2005, 04:55 AM
lol :D pixel shading and vertex fog on 2d :D - Merri figure that out :).
Devion
Dec 9th, 2005, 05:26 AM
Anyway.. we should add some 'cool' graphics to make it all go spritey and such ;)
Merri
Dec 9th, 2005, 05:36 AM
Well I could do bump mapping, transparent layers (no, not bitwise transparency!) and some other nice effects. In a game that is, not just as separate samples :)
Raedwulf
Dec 9th, 2005, 06:37 AM
Merri could you have a look at my modifications in the post above?http://www.vbforums.com/showthread.php?p=2273954#post2273954
Merri
Dec 9th, 2005, 07:21 AM
Well, I had the picturebox there to make it easy to resize the screen size and to be able to add space for controls without a hassle :) Haven't taken a look in the code as I've been busied with some another "project"...
eyeRmonkey
Dec 11th, 2005, 02:05 PM
Merri, are things coming along are are you busy lately? If your busy, thats okay. I've just been looking forward to this for a while and no one has posted in a few days.
Merri
Dec 12th, 2005, 12:11 AM
Yeah, I'm busy. I have a week to go and I should have these things done by then:
a minisite under one of my sites (about 20% done atm)
install a new forum software, copy data from old board and make a nice design for it
setup a blog and make a design for it that matches with the forum
code a some kind of news script
Somehow I feel I'm not going to have all of that done when you ask me about it next week...
eyeRmonkey
Dec 12th, 2005, 12:18 AM
Well it sounds like you have a lot on your plate. We could just start the contest after Christmas. That way you would have a ton of time to get it working great in between now and then, and we might get more people to participate.
Anyone else have any thoughts on this?
Raedwulf
Dec 12th, 2005, 02:59 AM
ahhhhhh can't it be during christmas when i have time :) - after christmas i have exams in jan.
Raedwulf
Dec 12th, 2005, 03:48 AM
Hi - made a flying 'helicopter' :P.
Will make more modifications when i have time - maybe even complete the engine. Im supposed to be having mock exams now - and what am i doing...damn :P
EDIT:Fixed - somehow the zipping program at college or me :D screwed up the zipping :P
Merri
Dec 12th, 2005, 03:55 AM
"File not found: clsEnemy"
Raedwulf
Dec 12th, 2005, 05:34 AM
^
Fixed above
eyeRmonkey
Dec 14th, 2005, 08:57 AM
Raedwulf, for whatever reason your latest version is using 100% of my CPU and is not locking at 40 FPS. Any ideas?
Raedwulf
Dec 15th, 2005, 02:09 AM
I noticed that too on my home computer AMD Sempron 2400+ but it has no problems on P4s and P4 Ds. What is your computer?
I think the main cause is that I used a DIB Section in my version - I've uploaded a new version which uses conditional compilation
#Const DIBSECTION = True ' False to use SetPixel.
I don't know if this true but I believe for older computers DIBSection runs slowly on xp - because my progs that use intensive gdi dib sections run slowly on P3 and AMD (old ones).
eyeRmonkey
Dec 15th, 2005, 08:50 AM
I have P4. It seems to work fine in the IDE. I think I might have tested version 2 in EXE format and it hadn't been recompiled.
Raedwulf
Dec 15th, 2005, 09:58 AM
ahhh ok - yeah my exe was probably outdated. DIBSection works fine on P4 - but for older pcs it gets very sluggish(slower than SetPixel - dunno why) - I can only guess that windows xp uses optimised sse2 routines or something by default for P4 and uses slow x86-only otherwise for other pcs....but I have no idea.
Raedwulf
Dec 19th, 2005, 04:45 AM
Hmmmmmm........I've got some other projects on my mind at the moment too....
Could some one else have a look at the code :blush: :P
Cheers.
Btw. IE is screwing up on this page lol.....so i loaded firefox :D
damasterjo
Jan 10th, 2006, 10:36 PM
I was reading earlier and I think minesweeper is a good idea.
eyeRmonkey
Jan 19th, 2006, 03:00 PM
Here are some great ideas.
http://mathschallenge.net/index.php?section=project&ref=view
damasterjo
Jan 26th, 2006, 10:27 PM
those look really good, the mods should consider one of them!
manavo11
Jan 27th, 2006, 05:55 AM
Those are fairly simple to solve on paper, make them a contest how? Based on speed? There is hardly any coding challenge (in the first ones that I saw). Did you see a specific one that seems interesting?
damasterjo
Jan 27th, 2006, 06:14 AM
Problem 7
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the 10001st prime number?
Merri
Jan 27th, 2006, 07:36 AM
We've already done a prime numbers contest (it was the very first contest).
eyeRmonkey
Jan 27th, 2006, 01:06 PM
Well I have completed the first 10 challenges. Maybe the contest could be to write a program that does all 100ish of them in the quickest amount of time. Or just doesn the hardest 10 in the quickest amount of time.
I'm on a tough one right now that involves adding together all the digits in the number 2^1000. It is hard because a computer can't find 2^1000 that easily. I'm looking into ways to solve it online right now though.
RobDog888
Jan 29th, 2006, 01:27 PM
Do you guys think that since ts been so long since the last contest that the Contest Forum should be retired?
ntg
Jan 29th, 2006, 03:12 PM
Do you guys think that since ts been so long since the last contest that the Contest Forum should be retired?
Absolutely:thumb:
gigemboy
Jan 29th, 2006, 09:45 PM
How about someone just make up another contest? Put it back into action??
damasterjo
Jan 29th, 2006, 10:02 PM
dude sounds good to me. I want some respect here. I want to code a contest and try to win with the power of directx.
RobDog888
Jan 30th, 2006, 01:53 AM
If you guys really want another contest we can do that but we need a decent idea is all. also, you need a decent amount of members that would want to participate too. Its alot of work to manage for the Mods that run this so you will need more then a few participants. ;)
Merri
Jan 30th, 2006, 02:26 AM
The current contest method just doesn't work (nobody dares to start out anything because of the fear of "nobody takes part in it anyway"), so it would be better to try something else.
I could run long term speed contests. I'd think it as more of a open results contest, ie. everyone can see everyone elses codes and comparison charts are kept up-to-date each time someone posts a new code.
As the contest keeps going on I could then give some tips (but not code) or I could try to keep making the fastest code, ie. I'd first make a code that works, then someone else beats it, I improve my own code and the same keeps going on until the contest is decided to end. Or either one during the same contest depending on how much time I have available.
This would teach both algorithm thinking and code optimization, which are the two most important things when trying to make something work quickly. The contest would work fine as long as there is one active contestant.
I could start running one even later today if nobody has anything against it.
RobDog888
Jan 30th, 2006, 02:33 AM
So kind of like the "Code It Better" Forum but with a prize. I think we would need some input from the Mods that would be overseeing the contest first.
Speed contests like number crunching, string manipulations, loops, loading of a particular control, graphics, etc.
Raedwulf
Jan 30th, 2006, 04:00 AM
Merri wrote:
I could run long term speed contests. I'd think it as more of a open results contest, ie. everyone can see everyone elses codes and comparison charts are kept up-to-date each time someone posts a new code.
Sounds very much like VBSpeed. I was in contact with Donald Lessau - but he's rather busy to update the site often. Besides, not many people seem to be interested in his website anymore. So I'd say that it would be a yes from me :)
I have a stack of code which is fairly-well optimised i wouldn't mind posting on such a site, Merri. :D
Cheers.
Pino
Jan 30th, 2006, 07:37 AM
http://www.vbforums.com/showthread.php?t=384399
Continue there this thread very cluttered!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.