Go to advanced search

by Magic Knight
Tue Dec 11, 2018 4:37 pm
Forum: Gaming
Topic: Python text adventure ISS Emergency!
Replies: 5
Views: 412

Re: Python text adventure ISS Emergency!

A final tweak made and we're done. Thanks again for the feedback. I've made the code into a sort of framework layout so that its easy to re-use to create further games. I'll be back :D BTW it should also be easy for anyone else to create a game, if they want to .... In Trinket, just click on the pen...
by Magic Knight
Mon Dec 10, 2018 11:08 am
Forum: Gaming
Topic: Python text adventure ISS Emergency!
Replies: 5
Views: 412

Re: Python text adventure ISS Emergency!

Glad you enjoyed the game and thanks for the comments, very useful.
I've made some changes to the game as suggested.
Could you try it again and see what you think now.
Also maybe edit your previous comment so as not to give too much away ;)
Thanks MK.
by Magic Knight
Sat Dec 08, 2018 8:46 pm
Forum: Gaming
Topic: Python text adventure ISS Emergency!
Replies: 5
Views: 412

Python text adventure ISS Emergency!

Here;s a beginners level text adventure for you to play with.
ISS Emergency! is an 8-bit style verb/noun text adventure.
Enjoy.

https://trinket.io/python/7e14055ca7?to ... 0NypyA-iPs
by Magic Knight
Sat Nov 11, 2017 4:48 pm
Forum: Gaming
Topic: write your own Text Adventure
Replies: 1
Views: 606

write your own Text Adventure

Here's the latest code for my text adventure framework.
Its based on the old 8bit verb/noun games, so is easy to edit and play.
Includes the start of a game.
Enjoy.

https://trinket.io/library/trinkets/d42c4463e1
by Magic Knight
Thu Dec 01, 2016 2:04 pm
Forum: Python
Topic: classy question
Replies: 7
Views: 1086

Re: classy question

I haven't exactly got a problem, as I said everything works fine, I was just trying to tidy up the code. I felt that some of it was a bit of a bodge as I'm just learning Python. The query concerns the part of the code for player movement, I thought there should be a better way of doing this. Cheers ...
by Magic Knight
Wed Nov 30, 2016 9:38 pm
Forum: Python
Topic: classy question
Replies: 7
Views: 1086

Re: classy question

The code is on the forum. Search for text adventure or The Web of Fear.
by Magic Knight
Wed Nov 30, 2016 9:35 pm
Forum: Python
Topic: classy question
Replies: 7
Views: 1086

Re: classy question

Thats basically what I do at the moment. Thought there maybe a better way. Thanks MK.
by Magic Knight
Wed Nov 30, 2016 11:58 am
Forum: Python
Topic: classy question
Replies: 7
Views: 1086

classy question

Hi there I've created a text adventure game that all works fine and I'm now trying to tidy up the code a bit. My question is, how do I obtain a class object name from one of its attributes ? Example. I have a Room class, with room description and room number attributes. room_001 = Room("This is the ...
by Magic Knight
Wed Apr 20, 2016 7:01 pm
Forum: Gaming
Topic: Text advenure game
Replies: 3
Views: 720

Re: Text advenure game

Well, it is Python and Gaming .....
by Magic Knight
Tue Apr 19, 2016 7:04 pm
Forum: Gaming
Topic: Text advenure game
Replies: 3
Views: 720

Re: Text advenure game

Any volunteers ?
by Magic Knight
Tue Apr 19, 2016 6:55 pm
Forum: Python
Topic: Text adventure
Replies: 5
Views: 1079

Re: Text adventure

Yes. If you are carrying the correct objects, try the use command.
Also, if you are stuck on the platform, you may not have found the torch. x (examine) everything !
The adventure is short, but it is complete.
Cheers MK.
by Magic Knight
Sun Apr 10, 2016 10:04 am
Forum: Gaming
Topic: ATARI ST EMULATOR, HATARI
Replies: 16
Views: 9460

Re: ATARI ST EMULATOR, HATARI

what links ?
by Magic Knight
Sat Apr 09, 2016 9:07 am
Forum: Gaming
Topic: ATARI ST EMULATOR, HATARI
Replies: 16
Views: 9460

Re: ATARI ST EMULATOR, HATARI

sudo apt-get install hatari - will install the Atari ST emulator nice and quickly.
download a TOS rom, search Google for - 'Atari ST tos rom', pick a 1.04 for games.
a few games, search Google for - 'Atari ST game roms'
and away you go .......
by Magic Knight
Fri Apr 08, 2016 12:44 pm
Forum: Python
Topic: Text adventure
Replies: 5
Views: 1079

Re: Text adventure

Will now run in Python 2 and 3 !
by Magic Knight
Wed Apr 06, 2016 12:23 pm
Forum: Gaming
Topic: Text advenure game
Replies: 3
Views: 720

Text advenure game

Hi all. I've just finished a little text adventure written in Python 2.7.9 and wondered if anyone would be interested in play testing it for me ? Its only a short adventure, just to practice Python programming, but I think it works quite well and is reasonably difficult. It would also help if you ar...
by Magic Knight
Mon Apr 04, 2016 4:50 pm
Forum: Python
Topic: error in sending sms on motion detecting
Replies: 19
Views: 2012

Re: error in sending sms on motion detecting

Whats does sms() return, is it a string ?
by Magic Knight
Mon Apr 04, 2016 11:42 am
Forum: Python
Topic: Text adventure
Replies: 5
Views: 1079

Re: Text adventure

Here is the code for the text adventure game The Web of Fear !
Please have a play ....

Just uploaded ver 5, a few tweaks to code and playability and will now run in Python 2 or 3.
by Magic Knight
Sun Apr 03, 2016 9:52 pm
Forum: Python
Topic: Text adventure
Replies: 5
Views: 1079

Text adventure

Hi all. I've just finished a little text adventure written in Python 2.7.9 and wondered if anyone would be interested in play testing it for me ? Its only a short adventure, just to practice Python programming, but I think it works quite well and is reasonably difficult. It would also help if you ar...
by Magic Knight
Thu Jan 30, 2014 4:26 pm
Forum: General discussion
Topic: Pi and ownCloud
Replies: 3
Views: 988

Re: Pi and ownCloud

Here's a few links I found useful while setting up ownCloud ... Auto login http://www.opentechguides.com/how-to/article/raspberry-pi/5/raspberry-pi-auto-start.html Enable email so owncloud can share links http://rpi.tnet.com/project/faqs/smtp Add ext usb drive to fstab so it auto mounts http://kwils...
by Magic Knight
Tue Jan 28, 2014 11:06 pm
Forum: General discussion
Topic: Pi and ownCloud
Replies: 3
Views: 988

Re: Pi and ownCloud

Typical, say everythings Ok, and next minute it all goes pear shaped ! Today I noticed all my users were running out of storage, and I couldn't up their quotas. Turned out everything was being saved on the SD card and not on the external USB drive ! Anyway, after learning a few basic linux commands ...
by Magic Knight
Mon Jan 27, 2014 12:06 pm
Forum: General discussion
Topic: Pi and ownCloud
Replies: 3
Views: 988

Pi and ownCloud

Am running my Pi with ownCloud and a 1Tb ext USB drive. Pretty easy to setup. Downloaded a ready made ownCloud image, and using dlinkddns to update ip address. Have a BT hub 5 which is easy to setup when you know which settings to change. I am using ownCloud clients on our home PC's and on the boys ...
by Magic Knight
Fri Apr 26, 2013 5:52 am
Forum: Python
Topic: Using CodeSkulptor offline on the RPi- Help!
Replies: 3
Views: 1433

Re: Using CodeSkulptor offline on the RPi- Help!

Hi aleck.
I'm taking that course as well. Have just submitted my rock paper scissors lizard spock game. Finding it a really good course. How are you getting on ?
Cheers
Magic Knight.
by Magic Knight
Mon Apr 15, 2013 9:47 pm
Forum: General programming discussion
Topic: Which Language to Learn?
Replies: 53
Views: 13917

Re: Which Language to Learn?

I've just started the following online course.

An Introduction to Interactive Programming in Python

at www.coursera.org

Looks good so far.
by Magic Knight
Mon Feb 11, 2013 6:19 pm
Forum: General discussion
Topic: dd command help
Replies: 2
Views: 414

dd command help

Is it possible to run the dd command via ssh to backup/image the whole sd card to an attached external usb drive ?
Something like dd if=/dev/sdcard of=/media/lacie rpi.img
by Magic Knight
Fri Feb 08, 2013 9:43 am
Forum: General discussion
Topic: Remote Hard Drive Access
Replies: 9
Views: 6903

Re: Remote Hard Drive Access

I connect remotely same as above with a few differences. Router (BT hub2) - 2 changes, port forward ssh and also setup dynamic dns Get a free dyndns account here https://www.dlinkddns.com/login this will allow you to connect to your pi from anywhere with a dedicated web address. I haven't needed to ...

Go to advanced search