![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#31 |
|
Programming Guru
![]() |
Yep..
__________________
|
|
|
|
|
|
#32 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Sorry, guys... exams and all... and I've been working on my game.
|
|
|
|
|
|
#33 |
|
Programmer
Join Date: Apr 2005
Location: Uk
Posts: 68
Rep Power: 4
![]() |
I submited, ok it was a piss take, but i still did, does that make me the winner in all fairness then?? i think so
Go saturn, it's ya birth day, haha
__________________
while me is alive: make(life,simple) |
|
|
|
|
|
#34 |
|
Programming Guru
![]() |
No, what you posted won't actually work. Therefore it's not considered an entry.
__________________
|
|
|
|
|
|
#35 |
|
Programming Guru
![]() |
it would work, true there are a few minor syntax errors in there but still.
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity." - Albert Einstein |
|
|
|
|
|
#36 |
|
Programming Guru
![]() |
Berto, ok, cool... explain to me how the functions poke() and drive() will work
I've always wanted a program that can poke me and drive me to work.
__________________
|
|
|
|
|
|
#37 |
|
Expert Programmer
|
They probably do exist some obscure SDK...
The popemobile (peace be upon him) had self-guiding sat nav and could also survive a small nuclear strike, so why not? |
|
|
|
|
|
#38 |
|
Programmer
Join Date: Apr 2005
Location: Uk
Posts: 68
Rep Power: 4
![]() |
Right peeps were kinda annoying me about that code, made as a joke..
SO, i have made it actually run now, so if someone wants to pull it apart feel free!! obviously drive, and poke have been made as functions, and are just little pics, and drive is like a gprs idea! from time import *
import winsound
def Poke(name,strength):
if name == "saturn" and strength == "hard":
print """
Poke _o_
--->--->---> |
Hard / \
"""
winsound.Beeb(130,1000)
print "Wake Up"
def Drive(name,location):
if name == "saturn":
if location == "work":
print """
Leaving Aynam Road.
Driving Over Nether Bridge.
Taking Kirkland Road onto NewRoad Car Park.
"""
if location == "home":
print """
Leaving NewRoad Car Park.
Taking Highgate Bridge.
Driving Down Aynam Road.
"""
def Wake():
num = 1
while num == 1:
if strftime("%H:%M", localtime()) == "06:00":
Poke("saturn","hard")
if strftime("%H:%M", localtime()) == "07:45":
Drive("saturn","work")
while strftime("%H:%M", localtime()) > "08:30" and strftime("%H:%M", localtime()) < "05:30":
sleep(10)
if strftime("%H:%M", localtime()) == "05:30":
Drive("saturn","home")
else:
sleep(60)Thanks ![]()
__________________
while me is alive: make(life,simple) |
|
|
|
|
|
#39 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Methinks he wins.
![]() |
|
|
|
|
|
#40 |
|
Programming Guru
![]() |
The submittion deadline was monday night, sorry folks. No winner.
__________________
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|