Jump to content




[WIP] Lonely Me - A computer that DOES want to talk with you.


  • This topic is locked This topic is locked
16 replies to this topic

#1 Tjakka5

  • Members
  • 256 posts

Posted 27 November 2012 - 06:53 AM

Feeling lonely?
Thinking noone likes you?

Well, those feelings are over with the new Lonely Me program.
So far, it will only ask how you feel, and give a respond to that, and it will ask about your day!
But there is a lot more coming.

Check it out, and please post some tips/suggestions down below.

http://pastebin.com/xnMiBNa4

Pictures:

Posted Image


Planned:

Improve the askDay function.
Make the order of questions random, but still logical (Oh god...)

#2 bjornir90

  • Members
  • 378 posts
  • LocationFrance

Posted 27 November 2012 - 06:57 AM

Please put the actual link :)

#3 Tjakka5

  • Members
  • 256 posts

Posted 27 November 2012 - 07:03 AM

View Postbjornir90, on 27 November 2012 - 06:57 AM, said:

Please put the actual link :)/>

Alright, just wait a second, uploading a newer version already that includes:

-Bug fixes
-Unknown mood
-And a little easter egg...

#4 Tjakka5

  • Members
  • 256 posts

Posted 27 November 2012 - 07:08 AM

NEW UPDATE:

-Added a askDay function.
-Preparing for the functions to happen randomly, but still logical.
-Preparing for saving what you did today and putting it in a good sentence (Holy mother of jesus, thats going to be tough... I have to learn it english...)

#5 bjornir90

  • Members
  • 378 posts
  • LocationFrance

Posted 27 November 2012 - 08:18 AM

Lol you seems to work very hard on it, you have just released two updates in 10min. :P

#6 Jasonfran

  • Members
  • 148 posts
  • LocationEngland

Posted 27 November 2012 - 09:55 AM

View PostTjakka5, on 27 November 2012 - 06:53 AM, said:


Posted Image
Posted Image

#7 bjornir90

  • Members
  • 378 posts
  • LocationFrance

Posted 27 November 2012 - 07:23 PM

The askDay function is defined after the askMood wich call it. So if I type awesome I will get a attempt to call nil. :P

#8 Tjakka5

  • Members
  • 256 posts

Posted 28 November 2012 - 03:01 AM

Currently rewriting the code so it knows the language, and fixing the bugs listed above.

#9 zekesonxx

  • Signature Abuser
  • 263 posts
  • LocationWhere you aren't

Posted 28 November 2012 - 03:18 AM

  goodMood = (yourMood == "good" or yourMood == "Good" or yourMood == "great" or yourMood == "Great" or yourMood == "nice" or yourMood == "Nice" or yourMood == "awesome" or yourMood == "Awesome" or yourMood == "potato" or yourMood == "Potato")
  --
  badMood = (yourMood == "bad" or yourMood == "Bad" or yourMood == "not good" or yourMood == "Not good" or yourMood == "awful" or yourMood == "Awful")
  --
  unknownMood = (yourMood == "idk" or yourMood == "Idk" or yourMood == "IDK" or yourMood == "i dont know" or yourMood == "I dont know" or yourMood == "I Dont Know" or yourMood == "dunno" or yourMood == "Dunno") 

Why not do string.lower()?

#10 Tjakka5

  • Members
  • 256 posts

Posted 28 November 2012 - 04:38 AM

View Postzekesonxx, on 28 November 2012 - 03:18 AM, said:

  goodMood = (yourMood == "good" or yourMood == "Good" or yourMood == "great" or yourMood == "Great" or yourMood == "nice" or yourMood == "Nice" or yourMood == "awesome" or yourMood == "Awesome" or yourMood == "potato" or yourMood == "Potato")
  --
  badMood = (yourMood == "bad" or yourMood == "Bad" or yourMood == "not good" or yourMood == "Not good" or yourMood == "awful" or yourMood == "Awful")
  --
  unknownMood = (yourMood == "idk" or yourMood == "Idk" or yourMood == "IDK" or yourMood == "i dont know" or yourMood == "I dont know" or yourMood == "I Dont Know" or yourMood == "dunno" or yourMood == "Dunno")

Why not do string.lower()?

As I said, I am currently rewriting the code, fixing the bugs, including those giant lines.

#11 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 28 July 2013 - 03:24 AM

The easter egg is a good mood. The Potatoe :D

#12 Tjakka5

  • Members
  • 256 posts

Posted 28 July 2013 - 03:39 AM

uhm...
This thing is like 8 months old?

#13 H4X0RZ

  • Members
  • 1,315 posts
  • LocationGermany

Posted 28 July 2013 - 05:48 AM

Oh, s**t...
I haven't seen it on my mobile...

#14 ElectricOverride

  • Members
  • 94 posts

Posted 30 July 2013 - 04:30 AM

View Postzekesonxx, on 28 November 2012 - 03:18 AM, said:

  goodMood = (yourMood == "good" or yourMood == "Good" or yourMood == "great" or yourMood == "Great" or yourMood == "nice" or yourMood == "Nice" or yourMood == "awesome" or yourMood == "Awesome" or yourMood == "potato" or yourMood == "Potato")
  --
  badMood = (yourMood == "bad" or yourMood == "Bad" or yourMood == "not good" or yourMood == "Not good" or yourMood == "awful" or yourMood == "Awful")
  --
  unknownMood = (yourMood == "idk" or yourMood == "Idk" or yourMood == "IDK" or yourMood == "i dont know" or yourMood == "I dont know" or yourMood == "I Dont Know" or yourMood == "dunno" or yourMood == "Dunno")

Why not do string.lower()?
Does string.lower() make it so the capitals dont matter?

#15 jesusthekiller

  • Banned
  • 562 posts
  • LocationWrocław, Poland

Posted 30 July 2013 - 04:53 AM

  • It makes all chars lowercase
  • This thread is dead...


#16 TheOddByte

    Lazy Coder

  • Members
  • 1,607 posts
  • LocationSweden

Posted 30 July 2013 - 06:09 AM

View PostAtarian, on 30 July 2013 - 04:30 AM, said:

View Postzekesonxx, on 28 November 2012 - 03:18 AM, said:

  goodMood = (yourMood == "good" or yourMood == "Good" or yourMood == "great" or yourMood == "Great" or yourMood == "nice" or yourMood == "Nice" or yourMood == "awesome" or yourMood == "Awesome" or yourMood == "potato" or yourMood == "Potato")
  --
  badMood = (yourMood == "bad" or yourMood == "Bad" or yourMood == "not good" or yourMood == "Not good" or yourMood == "awful" or yourMood == "Awful")
  --
  unknownMood = (yourMood == "idk" or yourMood == "Idk" or yourMood == "IDK" or yourMood == "i dont know" or yourMood == "I dont know" or yourMood == "I Dont Know" or yourMood == "dunno" or yourMood == "Dunno")

Why not do string.lower()?
Does string.lower() make it so the capitals dont matter?
An example:
-- If you would type 'HeLLo' or something
input = string.lower(read())
-- It would print 'hello'
print(input)
Also as jesusthekiller said... The thread is dead

#17 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 04 August 2013 - 12:33 PM

This is a fine example of many people who have confused the Reply button with the Report button.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users