Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Owen Bradstreet

@OwenBradstreet
I dabble in a few languages, but I am most proficient in Python 3. I endeavour to create the most complex, but efficiently written programs.
  • Alexbot

    Cover page
    Made with Python

    A trainable AI (not deep-learning, just trainable).

    Recent comments (4)
    AdenKowallis
    AdenKowallis
    2 months ago

    Uh, I don't understand this yet

    baldwinT2010
    baldwinT2010
    3 months ago

    bro WTF is "

    / _ \ | | ____ ___ _ | / | / /\ | | / __ \ / /| __ \ / _ \ __
    / | \ |
    \ / > < | _\ ( <> ) |
    _
    |
    //___ >/_ | /_/|__|
    / / / /
    Mode (Train, Chat, Tutorial): chat

    You: hi Alex: I don't understand that yet.

    You: what is 1 + 1 Alex: I don't understand that yet.

    You:

    " ?

  • Text Editor

    Cover page
    Made with Python

    A simple text editor.

    Recent comments (5)
    elixirmixer
    elixirmixer
    5 months ago

    Hey man I'm developing a replica operating system written in python 3 of ms-dos and im having a lot of trouble making a text editor. would you mind if i included this when i release it? i'll be sure to give you complete and proper credit for your code and a link to your page if anyone is interested in checking some of your brilliant creations out.

    ankianki33
    ankianki33
    6 months ago

    was about to write my uni essay on this just for replits dark mode

    kthen
    kthen
    1 year ago

    you forgot to add pootin as a Friend

    apart form that i love it

  • Hangman

    Cover page
    Made with Python

    Hangman with a twist!

    Recent comments (0)
  • Snake

    Cover page
    Made with Python
    Recent comments (1)
    Landonbacon
    Landonbacon
    2 years ago

    You should slow down the frames to a fixed time because the snake goes faster the more frames and is very hard to control. By frames I mean every time you print the playing board.

Repls
Community
OwenBradstreet
OwenBradstreet
shared a Post
4 years ago
Project-Mode replit.clear()
Any idea when this will be added? Will be fantastically appreciated :)
OwenBradstreet
OwenBradstreet
shared a Post
5 years ago
So I want to generate a random number, for example between 1-100. I want the probability of 100 being generated to be way more likely than 1, going up
haakenlid
haakenlid
How about this: 101 - math.floor(101 ** random.random()) It will give some sort of inverse logarithmic distribution.5 years ago
OwenBradstreet
OwenBradstreet
So, thanks to the brilliant mind of timchen, the solution is as simple as: import random accuracy = int(input("Accuracy (1-100): ")) randomNumber = random.randint(1,101) if accuracy > randomNumber: print("Hit!") else: print("Miss!") Awesome community here :)5 years ago
OwenBradstreet
OwenBradstreet
shared a Post
5 years ago
I know that Cyclomatic Complexity is the number of different routes the user can take through code after a certain point (correct me if I'm wrong), bu
SeamusDonahue
SeamusDonahue
for me it starts on line 314 of my program where I reset a variable to ensure that the next while loop will trigger (this is nested in a while loop). it says my complexity is 89. I don't doubt that but does it matter?3 years ago
BlueBari21
BlueBari21
import colorama as cr cr.init(autoreset=True) print("MOS Kern v1.4 Beta, \n by MI Software \n(c) 2019 Matthew_ink.") usr_load = open("Users", "r") usrread = usrload.read() #-------------------Login----------------------------- usr_try = input("Username: ") while usrtry != usrread: print(f"{cr.Fore.RED}\nIncorrect.") usr_try = input("Username: ") if usrtry == usrread: print(f"{cr.Fore.GREEN}\nCorrect.") pass_load = open("Password", "r") passread = passload.read() pass_try3 years ago
ainain074
ainain074
mine is 44 tho -_- 4 years ago
OwenBradstreet
OwenBradstreet
shared a Post
5 years ago
There are two modes in this hangman! Either you play as the guesser (1), guessing the word the computer has chosen. Or you can let the AI play as the
AlexandrosTzanopoulos
AlexandrosTzanopoulos
Cool stuff! But, I think I found a bug: The word was "Protect" and when I entered "t" it didn't fill both of them. image5 years ago
OwenBradstreet
OwenBradstreet
Now with an even larger library of words, about 100,000. This means a wider range of vocabulary for the first mode, but a bit longer load times on the second. :)5 years ago
OwenBradstreet
OwenBradstreet
shared a Post
5 years ago
https://repl.it/@OwenBradstreet/Text-Editor I started and finished this in two hours - leading me to believe there's probably some bugs I'm overlooki
ELDER054
ELDER054
Hey! It’s like a subset of vim!2 years ago
OwenBradstreet
OwenBradstreet
shared a Post
5 years ago
Alexbot isn't sentient, or at all intelligent - but you can train him! Fork the bot and have a go - see how intelligent you can make your Alexbot! ht
timmy_i_chen
timmy_i_chen
This is super cool! :D5 years ago
OwenBradstreet
OwenBradstreet
Be sure to run the tutorial too - it explains the basics. Commands can be added in the if statements on line 74 - if you're good enough ;)5 years ago
OwenBradstreet
OwenBradstreet
shared a Post
5 years ago
When will we be able to chat with others? Sometimes I've been on people's profiles and wanted to start up some sort of chat with them about a piece of
UndertaleRulez
UndertaleRulez
u be talkin' to ppl in dis thread right now :P5 years ago
imbrown123
imbrown123
sup dood be ma fwend5 years ago
timmy_i_chen
timmy_i_chen
We have a discord if you want to join! :) https://discord.gg/346Tapr5 years ago
OwenBradstreet
OwenBradstreet
shared a Post
5 years ago
This isn't an actual classroom. This is an area for intermediate to advanced python 3 programmers to complete challenges and even earn awards. Please
Babbel
Babbel
just started developing my chatbot! i have already some ideas for bonus features ;)5 years ago
OwenBradstreet
OwenBradstreet
The first project has been set! Join the class and start your submission!5 years ago
timmy_i_chen
timmy_i_chen
Oh nice! You might get a bunch of people joining! Did you know you can give people a link to the community classroom so they can take your class without actually joining the classroom? The link is found by clicking on the "community" link on your teacher dashboard (top right corner)5 years ago