Discuss Scratch

  • Discussion Forums
  • » Requests
  • » RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language. [RSS Feed]
RattyTheEd2011
Scratcher
24 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

RattyTheEd2011's Coding shop


FORMS:
Order form:
Username:
Where to contact you:
Language
Details:
Read TOS:

Job:
Username:
Language(s):
Example of work(link here):
Where to contact you:
Other notes:
Read TOS:

Review:
Username:
Number of times you have used this shop:
Project we helped with:
What we could do better:
Quote for front page:
Other notes:

Partner:
Shop name:
Shop Banner:
Shop owner:
Proof of shop owner's permission(if you are not them):
Read TOS:

LANGUAGES:
Python
Scratch
TERMS OF SERVICE:
No disrespecting other people
Put your worker in the credits of your project
Codeword: (put in read TOS: ) I love coding
WORKERS:
RattyTheEd2011
WORKERS RULES:
If You do not follow the TOS you will receive a strike and once you have 3 strikes you will be fired for 3 days
Here is free python program
#!/bin/python3

# Replace RPG starter project with this code when new instructions are live

def showInstructions():
#print a main menu and the commands
print('''
RPG Game
=============================================================================================================

get to the garden with a key, a potion and a monster to win.(in order to collect a monster you need a sheild)

=============================================================================================================
Commands:
go [direction]
get [item]
''')

def showStatus():
#print the player's current status
print('---------------------------')
print('You are in the ' + currentRoom)
#print the current inventory
print('Inventory : ' + str(inventory))
#print an item if there is one
if "item" in rooms[currentRoom]:
print('You see a ' + rooms[currentRoom]['item'])
print("---------------------------")

#an inventory, which is initially empty
inventory = []

#a dictionary linking a room to other rooms
rooms = {

'Hall' : {
'south' : 'Kitchen',
'north' : 'Living Room',
'east' : 'Dining Room',
'west' : 'stairs',
},

'Kitchen' : {
'north' : 'Hall',
},
'Living Room' : {
'south' : 'Hall',
'item' : 'sheild'
},
'Dining Room' : {
'west' : 'Hall',
'south' : 'Garden'
},
'stairs' : {
'east' : 'Hall',
'west' : 'Landing'
},
'Landing' : {
'north' : 'Bedroom 1',
'west' : 'Bathroom',
'south' : 'Bedroom 2',
'east' : 'stairs'
},
'Bedroom 1' : {
'south' : 'Landing',
'item' : 'key'
},
'Bedroom 2' : {
'north' : 'Landing',
'item' : 'monster'
},
'Bathroom' : {
'east' : 'Landing',
'item' : 'potion'
},
'Garden' : {
'north' : 'Dining Room',
}

}

#start the player in the Hall
currentRoom = 'Hall'

showInstructions()

#loop forever
while True:

showStatus()

#get the player's next 'move'
#.split() breaks it up into an list array
#eg typing 'go east' would give the list:
#['go','east']
move = ''
while move == '':
move = input('>')

move = move.lower().split()

#if they type 'go' first
if move[0] == 'go':
#check that they are allowed wherever they want to go
if move[1] in rooms[currentRoom]:
#set the current room to the new room
currentRoom = rooms[currentRoom][move[1]]
#there is no door (link) to the new room
else:
print('You can\'t go that way!')

#if they type 'get' first
if move[0] == 'get' :
#if the room contains an item, and the item is the one they want to get
if "item" in rooms[currentRoom] and move[1] in rooms[currentRoom]['item']:
#add the item to their inventory
inventory += [move[1]]
#display a helpful message
print(move[1] + ' got!')
#delete the item from the room
del rooms[currentRoom]['item']
#otherwise, if the item isn't there to get
else:
#tell them they can't get it
print('Can\'t get ' + move[1] + '!')
# player loses if they enter a room with a moster in it without a sheild
if 'item' in rooms[currentRoom] and 'monster' in rooms[currentRoom]['item']:
if 'sheild' in inventory:
print('your sheild protected you from a monster... NOW YOU CAN COLLECT IT!')
else:
print('a monster has got you... GAME OVER')
break
if currentRoom == 'Garden' and 'key' in inventory and 'potion' in inventory and 'monster' in inventory:
print('you escaped the house... YOU WIN')
break

Last edited by RattyTheEd2011 (Sept. 23, 2022 20:57:52)


RattyTheEd2011's coding shop, Now hiring
RattyTheEd2011
Scratcher
24 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

Now sponsoring the scratch comedy series who are now hiring: go to this studio Scratch Comedy Series

RattyTheEd2011's coding shop, Now hiring
RattyTheEd2011
Scratcher
24 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

Patners:

The Salad Shop
A great shop for any design in your project/studio/forum. Also does reviews

Last edited by RattyTheEd2011 (Aug. 21, 2022 07:30:48)


RattyTheEd2011's coding shop, Now hiring
RattyTheEd2011
Scratcher
24 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

Bump!

Last edited by RattyTheEd2011 (Aug. 21, 2022 07:55:13)


RattyTheEd2011's coding shop, Now hiring
StarryDove
Scratcher
97 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

Cool shop!

Last edited by StarryDove (Aug. 5, 2022 12:27:55)


This is my siggy! It appears under each post I make, under the horizontal line. Select/ Highlight any part of this (my siggy) and press Shift+Down Arrow to view the whole thing! It's totally fine to advertise in your siggy! Be creative with it, by adding anything you want! (that is not inappropriate) Have a wonderful day/night!



“To change my destiny, it would take just an idea and my hard work to carry it out since my destiny is a massive book, written completely by me.”- Nova Celstiana (@StarryDove)
RattyTheEd2011
Scratcher
24 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

Bump!

Last edited by RattyTheEd2011 (Aug. 21, 2022 07:56:06)


RattyTheEd2011's coding shop, Now hiring
Dreadmaster2232
Scratcher
100+ posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

Order form:
Username: Dreadmaster2232
Where to contact you: game
Language scratch
Details: i have a bug in my pen maphere where it does not move at all( it should look like this here)
Read TOS: i love coding but idk what to do with this bug

If Russia stops fighting, there will be no war. If Ukraine stops fighting, there will be no Ukraine.

“The flow of time is always cruel… Its speed seems different for each person, but no one can change it… A thing that doesn’t change with time is a memory of younger days.” - Sheik, Legend of Zelda, Ocarina Of Time
GrilledCheeseBurrito
Scratcher
1000+ posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

Hi, does your shop accept partners? I don't see a partner form.

bobcat0701 wrote:

If Russia stops fighting, there will be no war. If Ukraine stops fighting, there will be no Ukraine.
Tag your next project with #RussiaStopThis


this is my signature. it comes after anything I post! you can make you're own here!
highlight this and press control+shift+down to see the rest of my siggy!

If you like my projects, shops, or anything about me, feel free to give me an internet!

Post count: (last update: 10/6/21)
To next goal: (2,000 posts)
50.24999999999999%
Total count:
1005 posts

See my current status and post distribution here!

RattyTheEd2011
Scratcher
24 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

GrilledCheeseBurrito wrote:

Hi, does your shop accept partners? I don't see a partner form.
Sorry I have'nt made one yet

RattyTheEd2011's coding shop, Now hiring
RattyTheEd2011
Scratcher
24 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

Dreadmaster2232 wrote:

Order form:
Username: Dreadmaster2232
Where to contact you: game
Language scratch
Details: i have a bug in my pen maphere where it does not move at all( it should look like this here)
Read TOS: i love coding but idk what to do with this bug
Taken

RattyTheEd2011's coding shop, Now hiring
RattyTheEd2011
Scratcher
24 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

RattyTheEd2011 wrote:

GrilledCheeseBurrito wrote:

Hi, does your shop accept partners? I don't see a partner form.
Sorry I have'nt made one yet
Done

RattyTheEd2011's coding shop, Now hiring
RattyTheEd2011
Scratcher
24 posts

RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language.

Bump!

RattyTheEd2011's coding shop, Now hiring
  • Discussion Forums
  • » Requests
  • » RattyTheEd2011's coding shop Now Hiring! Looking for a intermediate level of coding in any programming language. [RSS Feed]

Powered by DjangoBB

Standard | Mobile