Show DevBest SMMC ~ Suckish and Miniature Minecraf

Status
Not open for further replies.

Sway

Ruby and Python are married.
Dec 19, 2010
194
76
SSMC

I developed this in about twenty minutes and I may actually be serious on it in the future.
It's a text version of Minecraft in Python. You can pick a tree and collect a tree block, you can pick a grass and collect a grass block, you can walk ahead, etc.

I know what can be improved in the code (adding while loops, etc) but this is some shit I drew for you all.
You don't have to download a thing. If you have Python installed then just save this code as a .py and run it.

I do advise you to run it by using F5 or something, don't just run it through the console.
You can steal this and work on it, learn from it (it does have valuable stuff), or do whatever, I don't care.



v 0.1
Code:
import time
 
 
############## DEFINITIONS ################
 
 
def tree():
    input('There is a tree right infront of you. Do you wish to pick it? [Y / N] ')
 
 
def grass():
    input('There is grass below you. Do you wish to pick it? [Y / N] ')
 
 
def walk():
    input('Do you want to walk ahead? [Y / N] ')
 
 
def walking():
    input('You are now walking ahead. Do you wish to stop? [Y / N] ')
 
 
def pickedTree():
    print('You now have 1 tree block!')
 
 
def pickedGrass():
    print('You now have 1 grass block!')
 
 
 
 
 
 
################# INTRO #################
 
 
print('''                        __     
      /                          /    / 
_ _    ___  ___  ___  ___  ___ (    (___
| | )| |  )|___)|    |  )|  )|___ |   
|  / | |  / |__  |__  |    |__/||    |__  ''')
print('')
print('Welcome to a suckish and miniature version of Minecraft 0.0.0.1 by Mojang')
time.sleep(1)
print('SMMC version 0.1 by Sway programmed in Python')
time.sleep(1)
print('')
print('')
start = input('Want to start playing? [Y / N] ')
if start == 'Y':
    tree()
    if tree == 'Y' or 'y':
        pickedTree()
        walk()
        if walk == 'Y' or 'y':
            walking()
            if walking == 'Y' or 'y':
                pickedGrass()
                grass()
                if grass == 'Y' or 'y':
                    print('You now have 2 grass blocks!')
                    print('The game has ended. I\'ll fix it up later')
           
            else:
                walk()
        else:
            grass()
 
 
    else:
        walk()
 
 
       
       
 
 
if start == 'N':
    exit = input('Enter "E" to exit: ')
    if exit == 'E' or 'e':
        print('Now click on X, lol')
 

Kaz

BooYah
Staff member
Nov 16, 2010
3,064
1,025
sounds horrible, and theres no actual fun as you cant see anything
 

Weasel

👄 I'd intercept me
Nov 25, 2011
4,135
2,461
I agree, this really sounds horrible. Maybe finish one project before you start another one to.
 
Status
Not open for further replies.

Users who are viewing this thread

Top