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.

The 20 Line Challenge / Mind Reading Program [dbpro]

Author
Message
Krimzon DestinE
18
Years of Service
User Offline
Joined: 18th Sep 2005
Location:
Posted: 25th Oct 2005 03:10 Edited at: 25th Oct 2005 06:44
This is the revision of the very first program that I have ever made. I think it is the only complete program that I ever made. I have been learning DBPro ever since. When I start one project, I learned one thing, and found that I couldnt' continue, so I start a new project. When I get to the same point that I got at the first project, I found that what I learned from the second project will help me with the first. Here's the original code:



this is my revision and my 20-line entry:

Xenocythe
18
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 25th Oct 2005 03:23
This works in DBC...
CPU
20
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Carlsbad, CA
Posted: 25th Oct 2005 04:35 Edited at: 25th Oct 2005 04:36
Not bad, I like it... good logic in there...

Oh, it works in DBPro too, if anyone cares

CPU

[center]K-OS Battlefields
IS
///---///---///---UNDER CONSTRUCTION---\\\---\\\---\\\
[center]
Krimzon DestinE
18
Years of Service
User Offline
Joined: 18th Sep 2005
Location:
Posted: 25th Oct 2005 06:42
@ i know it does, i just have the habit of stating what program i use

@ CPU, i wrote it in DBPro. LOL!!!
CPU
20
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Carlsbad, CA
Posted: 26th Oct 2005 02:39
Ai missed that, I saw the lil thing that said DBClasic... and thought that that was what what it was written in...

CPU

[center]K-OS Battlefields
IS
///---///---///---UNDER CONSTRUCTION---\\\---\\\---\\\
[center]
Keemo1000
18
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 31st Oct 2005 18:50
whats the logic of this btw ?



In DBP - 3D is easier than 2D , 2 player is easier than Single player , Dont you think life rocks .. ?
Krimzon DestinE
18
Years of Service
User Offline
Joined: 18th Sep 2005
Location:
Posted: 1st Nov 2005 03:34 Edited at: 1st Nov 2005 03:35
if you can't tell by looking at the code then a magician never reveals his secrets!!!! LOL!!!
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 2nd Nov 2005 10:28
This isn't magic. Just math. An elemination method.

Immunity and Annihalation makes Immunihalation...
Krimzon DestinE
18
Years of Service
User Offline
Joined: 18th Sep 2005
Location:
Posted: 3rd Nov 2005 03:02
lol, really now?! It isn't magic, but to someone who doesn't understand, it is magic.
spooky
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 3rd Nov 2005 19:17
Here's my version of an amazing mind-reading computer;



Boo!
Evil stick
19
Years of Service
User Offline
Joined: 27th Mar 2005
Location:
Posted: 4th Nov 2005 02:06
LOL, good one!

Your mod has been erased by a signature.
Krimzon DestinE
18
Years of Service
User Offline
Joined: 18th Sep 2005
Location:
Posted: 6th Nov 2005 08:48
Quote: "LOL, good one!"

i would have to agree
UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 22nd Nov 2005 01:07 Edited at: 22nd Nov 2005 01:08
ROFL!

AAARRRGGGHHH!!!! No! I do not want to turn my caps lock off!!!!!

Ooska
19
Years of Service
User Offline
Joined: 29th Aug 2004
Location:
Posted: 23rd Nov 2005 00:41
That thing is so smart! How'd ya do it?

Read Ender's Game. And all its sequals.
Ne0
18
Years of Service
User Offline
Joined: 6th Dec 2005
Location:
Posted: 8th Dec 2005 13:44
It doesnt work properly all the time, here's a screenshot of an error...

my number was 23

Attachments

Login to view attachments
Lukas W
20
Years of Service
User Offline
Joined: 5th Sep 2003
Location: Sweden
Posted: 12th Dec 2005 09:58
this guy think he is smart. but is he? dunn dunn duunn


Zombie Hunter DBPro Open Source Project:
editor: 14% | survive mode: 30% | multiplayer: 0% | story mode: 0% | DEMO: 18%
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 12th Dec 2005 18:39
Ne0 that's because you typed "Y" instead of "y".

Immunity and Annihalation makes Immunihalation...
Killonyas Slayer
19
Years of Service
User Offline
Joined: 13th Apr 2005
Location: Mozerok,Eartreg
Posted: 14th Dec 2005 02:16
Quote: "Here's my version of an amazing mind-reading computer;

"


That doesn't work! It got it wrong. Try putting:

Think of an integer(i think integer...) between r and r+2...cause u can think of a fraction, and the computer will be wrong

"It's time to split!"
Krimzon DestinE
18
Years of Service
User Offline
Joined: 18th Sep 2005
Location:
Posted: 19th Dec 2005 01:40 Edited at: 19th Dec 2005 01:49
@Killonyas Slayer
Quote: "cause u can think of a fraction, and the computer will be wrong "


true, but a fraction is not a (one) number is it? Unless it is a decimal, in either case, they are not displayed on the screen, therefore they are not fair game chief.
Diablos
18
Years of Service
User Offline
Joined: 15th Oct 2005
Location: meh?
Posted: 17th Jan 2006 13:34 Edited at: 17th Jan 2006 13:35
my version of a spoof mind reader!



edit: i didnt realise how old this topic was... oh well.
The Cure
19
Years of Service
User Offline
Joined: 8th Feb 2005
Location:
Posted: 23rd Jan 2006 13:31
even better mind reader involving no maths, and in only 1 line too!
The Cure
19
Years of Service
User Offline
Joined: 8th Feb 2005
Location:
Posted: 25th Jan 2006 11:25
hmm...? did hav code in it, but im still on probation so it aint gonna appear here it is:

input "Please pick any number and i'll guess it! ",x : print "Guesses = "+str$(int(rnd(10)+1)) : Print "Ha! I got it! Your number is "+str$(x)+"!"

a mind readin one-liner
qwe
20
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 29th Jan 2006 04:58
Quote: "It doesnt work properly all the time, here's a screenshot of an error...

my number was 23"


well the number is 23 so it's obviously not a problem with the code. the "problem" lies with the fact that 23 is a number associated with Eris, goddess of Discord, keyword discord

If you want anything DB related hosted, log in (with ws ftp or something) www.lysergium.net with username public@lysergium.net and password public. you'll be directed to lysergium.net/public

Login to post a reply

Server time is: 2024-04-19 04:25:49
Your offset time is: 2024-04-19 04:25:49