Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Some of my code and ideas...

Author
Message
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 30th Apr 2007 04:13
Except for my MMO. All I want to work on is my MMO at the moment.

So, I'm quiting teams, and releasing code of all my other prgorams.

Think of it as prioritizing.

XenoClock
This is a program that displays a clock and the time and date. I was making it so it could make alarms and manage alarms that would go off on the computer.





XenoPaint
A painting program. A bit messy, but whateva.




School Board
An idea for a program. Its something schools can use. Set up grades, lunch charts, bleh, whatever, seating charts, etc.



MediaBook
Just an idea I had. It has music, pictures, and videos. its a media browser. But you look at it like the pages of a book, and you scroll aroudn with it like that. More neat things can be done with this. (Bookmarks, etc.)



Robot
A robot that understands life, emotions, whatever. It is completely possible. Why? Because Humans are robots too


For these codes and programs, you can use it or continue it. I dont really care.

Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 10th May 2007 03:36
XenoClock sounds cool. If you could add alarms that would go off using the Kernel32 DLL that'd be cool

n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 13th May 2007 01:06
lol, that robot souds cool

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 13th May 2007 08:09 Edited at: 13th May 2007 08:10
I'ma see what I can suck up off teh paint program

The robot idea sounds cool Except for the fact that humans have souls, and you can't give a soul to a robot

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 13th May 2007 17:31
If it were that easy it would have been done though. Gimme 10 years to study psychology and Advanced AI techniques and I'll give it a shot then heh.

Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 16th May 2007 22:36
Souls? I don't really believe in souls. I believe in mind and body, but no souls.


So it's still possible, you haven't proved me wrong there

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 16th May 2007 22:49
People have been trying to prove you wrong for decades lol.

Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 16th May 2007 23:08
True dat, true dat.





n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 19th May 2007 23:19
How would you even start to make a robot app. or whatever. Do you mean a program that thinks?

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 20th May 2007 01:12
Well it would need arrays to contain its data in. The arrays, I guess, would be its brain.

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 20th May 2007 02:19
Heh, it would probably need your whole computer's memory

Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 20th May 2007 02:21
Well... to make it as human as possible..
It would need:
A humans memory card (probably really big)
A humans video card (imagine that on a computer)
etc.

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 20th May 2007 02:53
And incredible AI.. cannot forget that bit

n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 20th May 2007 04:06
The ability to sense emotion. (Microphone) That would be..... about two million lines of code+hardware, compiling, debuging, and finding a way to make it not go 1 fps.

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 20th May 2007 05:01
This calls for a human sacrifice!

n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 20th May 2007 06:00
*kills nextdoor neighbor* Oops, you didn't really want me to kill anyone.....*stares a dead body*

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 20th May 2007 06:53
This talk of robots reminds me of a program I wrote years ago lol.

It was a robot and a programming language for kids all rolled into one!

It taught kids programming (or at least was supposed to) by typing commands into an interpreter and the robot did what you told it - no AI in my robot!

Stupid idea really - but I only figured that out half way through it...

Can't even remember how far I got with it. Must dig it out and have a laugh!

TDK_Man

Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 20th May 2007 07:07
Haha!
I think I remember running that robot of yours once!

n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 20th May 2007 07:47
HAHA! I don't kno what ur talking about, im a noob

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 20th May 2007 16:07
TDK, I made something like that just a few days ago! Didn't save it, it was only for testing/boredom. You would just input things like "left 2. up 5. right 1." etc, and it moved like that (actually it only showed a line of your path, but still) heheheh.

Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 20th May 2007 19:06 Edited at: 20th May 2007 19:06
My amazing AI!


U see!! It can do anything u want!!



Older Version


Lot of older version



[B] - LINKIN PARK - [/B]
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 20th May 2007 19:57
n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 20th May 2007 22:00
LOL, but how do you make AI that recognizes human speech, q's, commands, comments?

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 21st May 2007 00:38
Human voice recognition is far more advanced then text recognition.

For text recognition, all you have to do is make a parser.

n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 21st May 2007 01:15
But how do you write AI, PERIOD. The most complex AI i have ever done was making a paddle in a pong game line up with the ball.

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
Ankillito
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Litigious California
Posted: 21st May 2007 07:58
You should read "The Two Faces of Tomorrow"

It's all about the concepts involved in AI, but can be applied to any language.

Significant point:

We evolved up (instinct, common sense, intelligence)
and AI must go the other way. (intelligence, common sense, instinct)

Computers are WAY smarter then me in terms of intelligence, but in order to get to emotion, common sense and instinct will also be needed. That's a LONG way off...

"There will always be evil, for, without evil, the good shall lose their virtue."
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 21st May 2007 11:38
Quote: "But how do you write AI, PERIOD"


Unless you make some sort of evolution system, there is no real answer to that question. AI comes in many forms, including speech recognision, sight, and a lot of other things.

A Tea Spoon
17
Years of Service
User Offline
Joined: 23rd Apr 2007
Location: good ol USA!
Posted: 21st May 2007 22:12
this thread scares me...

it went from a few applications to robotic intelligence.
scary

What if the hokey pokey really IS what it's all about?
n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 22nd May 2007 00:17
OMG, if AI was impossible, then FPS's would not be fun in single player, nor any other game! THAT is the kind of AI i mean!! :N

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 22nd May 2007 01:02
That's just state machines lol.

If enemy.state = attack
<do stuff that attacks the player>
endif

n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 23rd May 2007 02:53
Yes, but how does AI for RTSs work?!

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 23rd May 2007 03:22
Same concept of state machines. They have absolutelly no thinking power

Ankillito
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Litigious California
Posted: 23rd May 2007 08:04
Ah, but what is thinking?

"There will always be evil, for, without evil, the good shall lose their virtue."
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 23rd May 2007 11:55
That's irrelivant. If you wanted to have "thinking" AI like Xeno's idea, it would involve senses, creativity, problem solving, speach and sight regognition, memory, all those things and more. FPS and RTS (and alot more) AI is just handling states of each bot, and making it move accordingly. It shouldn't even be called AI, seeing it doesn't really relemble much intelligence (apart from maybe a little in it's limited domain, i.e. shooting you when it sees you).

None-the-less, AI shouldn't be made on a single algorithm, unless, of course as I already said, it had some sort of evolutionary program to run off, developing it's own mind, learning things for itself, etc.

n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 23rd May 2007 21:24
What i don't understand is how in games like BF 1942, bots know how to use vehicles, and respond to problems!

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 23rd May 2007 21:29 Edited at: 23rd May 2007 21:30
I don't kno what exactly you mean by "respond to problems", but it's all algorithmic. Driving the vehicle is easy once you have it's physics working. All you have to worry about it where you are going, and what's between you and your destination. If a valid turn can't be made, it can be chosen randomly, yes, using the rnd() function.

"Respond to problems" might mean (I'm guessing) things like being surrounded by enemies in an FPS. Well, it's simple, if you are the target of lots of people (very simple data handling, easily done using UDTs), shoot randomly in random directions. May give the impression of giving it's best to survive, but it's really not.

That's exactly it though, if something looks like it's acting realistically, some might believe it to be intelligent (some philosophers say anyway). A guy way back once made a fake duck, and it would pick up a piece of food and appear to eat it. It could only do the same old move, and it would always be the same, but hey, it looked realistic, what was to stop people believing it's not a real duck?

Ankillito
17
Years of Service
User Offline
Joined: 10th Dec 2006
Location: Litigious California
Posted: 24th May 2007 01:59
I think most people won't recognized AI once they see it; true AI will be a new life form very different from our own. It won't have the same emotions, but it will have it's own version.

"There will always be evil, for, without evil, the good shall lose their virtue."
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 24th May 2007 02:23
If that was the case, then it wouldn't be very artificial, but then again, it might possibly be the case if someone actually did make an artificial evolution system. As of now though, I think people will just stick to human-like behaviour, and I think, that at the rate technology it going at nowadays, true consiousness isn't that far away. That's when the line between Intelligence and AI starts to blur.

n008
17
Years of Service
User Offline
Joined: 18th Apr 2007
Location: Chernarus
Posted: 25th May 2007 01:09
By respond to problems, i mean like, i'm flying in a P-51d, and a bot is me wingman, we both dive into the canyons of gazala, and the bot doesn't crash, and when a ju-88 pilot tried to suicide bomb him, he managed to turn BEFORE the collision.

Ling creckt tsi nocreckto havela? NASA chetallnar mo lu'ul nasding!

Login to post a reply

Server time is: 2024-11-22 18:23:29
Your offset time is: 2024-11-22 18:23:29