Online Music Hackathon

First Prize: $5000

Ends on Jul 22:
00
Days
00
Hours
00
Mins
00
Secs
Posts
Python
Python
Rules for Posting - Read me!
Some rules and guidelines to keep in mind as you share your great work on our boards: 1 - Be kind and courteous to others 2 - Make sure that any feedback you provide is constructive. 3 - Outside links are allowed, but you must provide the source. Ideally, things that you post will have been created on Repl.it. 4 - Avoid posting overly promotional material - the focus is, and always will be, a programming, learning, and collaborative community. :) 5 - Don't spam! Keep things SFW (Safe For Work). We may revoke your access to these boards if you are found to be in violation of any of these rules. Feel free to ask clarifying questions. Last updated 7/10/18 12:09 PST
63
posted to Share by timmy_i_chen (934) 1 year ago
🚨THE THEME IS MUSIC🚨: WIN $5,000! We're having another competition!
### Friends, foes, loyal Replers, Boy do I have some news for y'all! On July 1st, we're kicking off another competition and the stakes are higher than ever. ![richrichrich](https://storage.googleapis.com/replit/images/1561408399112_514da1dfbb25d3bc66b26fb7e7430790.gif) **Types of programs accepted:** *Any.* **Theme:** MUSIC! **Rules:** As always, *must* be original content & MUST be created *and* hosted on Repl.it **Prizes:** $5,000, $2,500, and $1,000 **Dates:** July 1 @ 00:00 PST to July 21 @ 00:00 PST **Judge:** Tom Lehman, the CEO of Genius ## To submit, all you have to do is share your repl on [Challenge](https://repl.it/talk/challenge)! Check out [our FAQ](https://repl.it/talk/announcements/MUSIC-HACKATHON-FAQ/16359) if anything is unclear or you have any questions. And feel free to ask anything you need there, too!
148
posted to Challenge by katyadee (813) 23 days ago
🐶Introduce yourself! 🐶
Hi everyone! ![waving](https://storage.googleapis.com/replit/images/1561489787610_61c528ae0267ed2696f0c625ff66db6c.gif) Use this space to share anything you want to share with our community - your name, where you're from, what you program in, what brought you here... whatever you're comfortable with! Can't wait to get to know y'all. 💖 Katya
64
posted to Announcements by katyadee (813) 22 days ago
39
👀 Domain Hack Finder 👀
# Domain Hack Finder Ever want to make a website, but you haven't been sure what you should name it? According to Wikipedia, a domain hack is a domain name that suggests a word, phrase, or name when concatenating two or more adjacent levels of that domain. For example, "bir.ds" and "examp.le", using the fictitious country-code domains .ds and .le, suggest the words birds and example respectively. In this context, the word hack denotes a clever trick (as in programming), not an exploit or break-in (as in security). Learn more about [domain hacks on my blog](https://www.matdoes.dev/blog/post/what-are-domain-hacks) ![Domain Hack Finder](https://storage.googleapis.com/replit/images/1560713948448_70de33f52af24ebcae9e109e2fd5828f.pn) [Try it out now! 😎](https://domain-hack-finder.mat1.repl.run) (Upvote this post for free Robux or MineCoins or whatever!)
45
posted to Share by mat1 (2242) 1 month ago
242
The Fishing Game
# The Fishing Game *Explore your way through the different regions by catching the rarest fish you can. Catch em all to fill up your fishedex!* Hi!! This my fishing game. Here's a bit of an explanation that you also get ingame: Welcome to my fishing game! The aim of the game is to reach level 100 as quickly as possible. Catch the rarest fish you can and level up! You can sell your fish in the shop. Rarer fish bring in more gold. You can use this gold to purchase bait, which is needed to catch fish, and rods, which make catching rarer fish easier. Careful, bait gets more expensive as you level up. New types of fish are unlocked as you level up, and at higher levels, it's easier to catch fish. You can also see information about all the fish you've come across in the 'fishedex' in the shop. Catch them all! You might also find some treasure when you're fishing! The game saves your progress at the end of each day, so you can just log in again and pick up where you left off. Good luck! Press enter to continue. Not gonna lie, it's pretty fun. *** ## Backstory I made this game last July. The reason I choose fishing was mainly because it makes plurals easier - the plural of most types of fish is the same as the singular ;) (This doesn't work for anchovies though... or mythical creatures. Oh well). To make it I did have to learn a little about using classes and objects - I find them really useful now though. My coding's definitely developed a bit since I made this (it's a mess), but I can't really be bothered to make the code any neater (I did a tiny bit). I have edited it a bit since I originally made it to make it ready for the game jam. Here are some of the additions (spoiler for past level 100!!) : * There are new "mythicals" which are extremely rare fantasy creatures, like mermaids. They can only be encountered after level 100. You can't sell them, though the game remembers which ones and how many you've seen. You need the special new moonstone rod. * The game's harder now, in that the XP needed to level up increases exponentially as you go up the levels. I really should have had that from the beginning, because levelling up was way too quick. * Some new types of fish! * Highscore board for how many days it takes to reach level 100. I'm not sure if this was in the original fishing game that I posted in July, but I don't think it was. It's empty currently because the new XP-level scale has made all the previous highscores made by me and my family during testing unfair. Let's see who get's the lowest! * Rarest fish stat. Within the rarity boundaries like common, uncommon, rare ect, there are varying rarities based on a number. If you catch a fish with the same rarity number as your rarest fish stat, it counts as rarer if it's unlocked at a higher level. Basically, higher level is used to decide rarity in a couple of cases. The point is, I wanted to add something that made the game more orientated to getting the rarest fish - kinda like pokemon. Anyone got the blue whale? * Changed the rod names from "default, alright, decent, good, great" ect. to "wooden, bamboo, copper, iron, steel" ect, just for added character. The only one that stayed the same was the awesome golden rod ;) *** ## In the Future... I've got a few ideas for what I want to add to the fishing game... * A little addition of telling you the current highscore when you sign up, or when you log in, or at the top each day in game. I just don't really know which one would be best. Let me know what you want! * More fish of course! I just don't want to bombard you with them. Maybe if some of you guys really like the game I'll put a personalised fish in for you ;) * More ideas post level 100. Maybe some cool non-mythical fish. * Having the option to change rods using ones you've already bought, because at the moment if you want to change your rod you have to repurchase any you've already bought and that's just dumb. * New rods with cool properties, like extra attempts per day, or unlocking specific types of fish, unlocked at certain levels. * Maybe, but probably not, lengths of fish - they'd be a mean length for each type, and the fish you caught would be around this. The price could depend on length. There could be a new stat with longest fish caught? I feel like this is just too complicated for my simple little fishing game though. * Music! I feel like it would really benefit from some tunes but I don't know how to implement that. I'd have to look in to it. * Your suggestion here. Seriously, I would really love it if you guys could tell me what you want to see, if you like the game of course. PLANS FOR THE FINAL DAY * *Quests/achievements?* * *Rainforest and/or ~~fire biome?~~* DONE fire, I think rainforest would be cool but too much * ~~*Settings page with options to reset account, see highscores, see game info/help, see current number of accounts on the game?*~~ DONE * ~~*Work on fish rarity colours and fishedex/treasuredex colouring.*~~ DONE * ~~*End biome highscores page?*~~ DONE and in settings * ~~*Mythicals for the other biomes !!!*~~ DONE * ~~*Better names than "normal biome" "ice biome" "desert biome"*~~ DONE but they were stolen from game of thrones... oops * ~~*Weathers with different fish for different weathers*~~ DONE *** Well that's it. I really hope you guys like it. If there's any bugs let me know, and if you want any improvements, let me know too! Thanks so much for trying it out! (also sorry that it doesn't fit the cash theme. I edited it to make it more appropriate to the cash theme, but it kinda sucked. I prefer the cutesy fishing element) On a final note, let me know if you encounter all the mythicals! That would be seriously cool! Edit: don't really care if you don't like that it's in all lower case. I think it looks nicer. *** ## Change Log since posting * Input validation for a, b, c at the start of the day, to avoid the "press enter and run up your days" error * Input validation for logging in or signing up * More input validation for selling some fish, plus added capability for selling multiple fish at a time (not all fish) and fixing a bug that would've prevented fish with spaces in their name - eg electric eel - to be sold. * Fixed the printing of high scores so that it's in actually in the correct order, plus accounting for ties. * Disallowed "-" characters in the username, which would've messed up the accounts file, had it been working anyway. * Lowered the power of the rods and raised the prices for a more difficult game ... sorry if the highscores are now unfair but I can't let it be the same game forever :( * More input validation in the shop... it never ends * Weirdly, more input validation in the shop, I thought I caught it all, but nope. thanks for catching that, TechGamer * Added the "fishedex"!! It's amazing! It's literally just a pokedex. Go to the shop to see it. If you do manage to catch em all then tell me if my code works and you get a congratulations. Hope you all like the fishedex, thanks to Hamloid for the idea! * Accounts and highscores saving error fixed! * You don't get as much info about a fish each time you catch one now, only the first time you do. I think it looks a lot nicer. * The code now has the grammar knowledge of a 6 year old and can appropriately use "a" or "an" now. * If you put in "log in" but you should've put in "sign up", you no longer need to refresh, the code will sort it out for you. * Fixed password security thanks to ebest! * Added treasures and treasuredex! * Fish are now coloured based on rarity, inspired by Runescape! * Different biomes with different fish, different treasures, harder xp gradients, and dangers [dangers are so cool]! Level resets to 1 in these biomes. You can travel between biomes by ships (your old levels stay the same, don't worry). Biomes are only unlocked past level 100. I only have the ice biome now, but more are coming (unlocked at ice level 100, ect.) * Biome specific rods! [only 1 per biome, but they're both great at getting rare fish, and allow mythicals (at the moment mythicals can only be caught in normal, but I'm going to add ice and desert mythicals) * Desert biome added!! I know, the names suck. I'm working on it. * Bait price increases as you level up. It's also more expensive as you go through the biomes. * Dangers added for normal. * "One use" items! These are pretty cool and last for 1-2 weeks, increasing your chance at either: catching a fish, catching a treasure or catching rarer fish, or keeping you safer. There's 2 "levels" of item for each, with the better being rarer. They can't be bought in the shop and are instead found when fishing. * Added weathers, which are specific to biomes. Most fish can only be caught in certain type(s) of weather. * Added settings page with options to reset account, see highscores, see total number of accounts signed up, see game info and see game help. Going to settings doesn't use up your day, unlike the shop. * Improved fish rarity colours suggested by Mavrick and each line in the fishedex is coloured according the what biome the fish is found in. * Fire biome, which is the last one! Highscores page for when you complete it. * Mythicals for different biomes. * Biomes are no longer called biomes and are now named after locations in game of thrones. * Massive bug exodus just before deadlines oops * Inputs except user and password are now not case sensitive * Slight edits to reaching level 100 & ship functions * cats_ur_cool77's awesome fishing game tribute can be found in settings! * credits when you reach endgame! *** ### New: Competition! Anyone who can reach level 100 in under 300 days can have a personalised mythical! Screenshot the highscore board once you reach 300 and tell about what you want your mythical to be. Maybe they'll have even more XP than normal mythicals. Good luck!! *** **Account bug FIXED! Finally! Thanks so much to leon332157 for their json store module - https://repl.it/talk/share/jsonstoreio/10956. Your account information and highscores should always be saved now! (let me know if you find a bug though)** **Issue with account security is definitely improved now. Don't try too hard to hack it though aha Edit: account security is much better now!! thanks to ebest! ** **Don't forget to upvote if you enjoyed the game! Thanks so much to everyone who has done so, or commented, already!** *** ### Notes to judges * *Sorry that there are no screenshots of game play. I was planning to take some today but I have definitely ran out of time :(* * *Please don't mark me down because it's all in lowercase. It's inspired by a dark room, and it's super easy to change at the end of the day.* * *PLEASE play until you reach at least ~~the ice biome~~ Beyond the Wall because I worked so hard on the biomes!! And don't you want to log a highscore?* * *Sometimes, I worked on the file by forking it and editing the fork. I then copied and pasted it back into the original. I deleted some forks to make more room in my repl. I swear I used repl.it!* * *I used this file a lot to change the data that is held for the accounts. It was necessary when the new developments in the game required more data to be stored. https://repl.it/@AmeliaBlackwell/Fishing-Game-Account-Handler* * *Of course I really hope you enjoy my game :)* * *I had to restore the latest backup because the storage got full and had to delete itself. I'm really sorry anyone lost their data. I should've written an exception for this but I didn't think about that before the deadline. Everything should be working now though. *I recommend playing in a new tab*
612
posted to Share by AmeliaBlackwell (910) 4 months ago
7
PIthon: A 100% free crowdsourced Pi host.
PIthon is a crowdsourced Pi calculator that runs with Python. It lets you use your Repl.it hacker plan for a cause (I don't have hacker plan. I hear hacker plan is faster then no hacker plan)! Just press the run button and input your username then how many digits you want to contribute and it will process! JUST DO IT (not plagiarism... right?). It's quick and easy to do. A question in the share section: Is there any way to hide the importing part where it imports the 5000 modules I use? [Direct run link](https://PIthon.ebest.repl.run) I WANT CYCLES (votes) Edit: Yay! I was featured! Edit: 10000 digits?!?!?! -Ebest
33
posted to Share by ebest (407) 15 days ago
122
██ Empty ██
# Empty > Empty is a philosophical game all about life. No matter how hard you try to make something change, nothing will happen. Life is bleak and boring. Dark and scary. Strange and mystical. ![Black](https://colors.matdoes.dev/c/black) # Gameplay Hovering over the run button will change it to be green, and joyful. Actually clicking the run button though, will change the text to say *stop* instead of *run*. This shows how life can change at any moment. Shortly after, you will notice how the text changes again to *run*. Life is short, so live it wisely. ![Empty gameplay](https://storage.googleapis.com/replit/images/1555549337605_ddc6099f07aa55d88c1f428174069c15.gi) # Credits Thank you to consciousness, for allowing me to think. Thanks to my body, for allowing me to share this post with others. Thank you to everyone, who play-tested my game and gave me feedback on what to change. But most importantly, thank you, for playing Empty. Be sure to upvote this post if you enjoyed the game, and leave a comment with suggestions! Thank you. ![Random color](https://colors.matdoes.dev/c/random) # Praise for Empty @a5rocks (Famous Repl.it developer): > 10/10 best game. This rating is completely unbiased. This game made me reflect on my past, something not many games have done. @nithilan4 (Has 13 cycles): > amazing. @Steven_The_GuyT (World class yo-er): > yo @Nanowrimoijk (is thatoneguy on discord): > wow totally changed my life playing this 🤣 @rediar (probably a greek philosopher or something) > This would impress any life long philosopher, and I nominate it for winning the game jam. It is a deep touching existential journey, exploring the mysteries of life. It makes you think, really think. Unlike most other games, it makes the player appreciate the beauty and majesty. The green is truly a subtle, but awe inspiring metaphor of how gray times can change for the good. The blackness represents how clueless we really are when it comes to what life really means, it’s ups and downs. For some it’s scary at times, for others, it is a curious thing. Even the name of the game is deeply touching, symbolizing the ultimate meaning. This game is shaking to the core. It is a revolution for the gaming industry, and should win the game jam. @Mooopy ( ) > ​ @ThatSmart (is smart) > Also this game is absolutely the best game I've played in years. @nithilan4 (oops i slipped and fell) > 👁👄👁 @Cool_Boi_Freak (is a cool boy) > 10/10 Would play again. @leon332157 (forgot that the caps lock button exists) > Bruh, THIS GAME IS AMAZING. I CAN'T EVEN DESCRIBE HOW GOOD IT IS. JUST RUN IT AND SEE BY YOURSELF. @TheDrone7 (aka h aka the eighth letter of the alphabet) > Best game in the history of the Earth. Keep up the good work. @eankeen (not a furry) > At first, I thought there wasn't much too this game. However, after closer examination, I realized there is much more to this game. It's fully dynamic and has complete multiplayer support! I was surprised by that - it blew my expectations out of the water. I'm proud to say that the controls are responsive and it's running at 60 frames per second (FPS). With complete certainty, I can recommend this game to the casual gamer, or the hardcore professional player. Huge props to @mat1 for architecting this magnificent beauty. @LehuyH (cool person) > This game the classic format of a game and blends it seamlessly with a philosophical narrative . This games develops a trust between players in a fashion I have never seen before. Without a tutorial, the player is immediately forced to materialize their own view on the simple, yet limitless void of white the game provides. I think this deep, thought-provoking and almost angelic style of game direction is something that has become so rare in today's oversaturated gaming environment. The gameplay is in one word: phenomenal. This game provides the player with a single button. The gameplay may seem simple, but can combined to create complex results. When I discovered that right-clicking said button creates a list of more buttons, I was amazed. Honestly, I have only touched the tip of the iceberg, and I will have to keep diving into this game in order to truly understand it's depth. @amasad (replit ceo man) > I never thought I'd cry playing a game. But this is different. After being on top of the world with my run button being green I was absolutely shattered. I was heartbroken and in disbelief. I lost all meaning. I was staring into the abyss. I'm not sure if I'll ever recover but I have a feeling that what Empty takes Empty gives back. I'm holding hope that one day I'll see the deep wisdom and optimism hidden behind the darkness and nihilism on the surface. Pray for me comrades. Pray for me. Nice job scrolling all the way to the bottom, make sure you leave a comment and upvote and i'll add you to the list!
189
posted to Share by mat1 (2242) 3 months ago
8
A zip file that contains itself, forever. Infinitely unzip-able.
This program continuously unzips the famous 'r.zip' file which contains a directory ('r') which contains... itself? This is an infinitely recursive zip file. It's zip files all the way down. From https://research.swtch.com/zip
2
posted to Share by MarcusWeinberger (17) 8 days ago
2
i dont know what im doing
Name: Wind-Chill Calculator Points: 100 Important Notes Format the output using the sample output in the Example Output section as a guide A programming environment has been setup online Connect to the server using an SSH client such as Bitvise (Windows users only - Apple users can access the server via the Terminal program) Note: The Bitvise SSH client is pre-installed on School of Computing computers IP Address: 139.62.210.180 Port: 22 Log onto the server Note: The username and password values are case-sensitive. Username: Your N# (i.e., n00123456) Password: idc2000password Students are required to change their password immediately after logging onto the server Edit the project1.py file using the pico text editor Note: Save your changes before exiting the pico editor or closing the SSH client. Enter the command, pico project1.py Run the program Enter the command, ./project1.py The textbook provides information about the Python language in a number of different sections 1.8 Data and Programming (pp. 57-63) 2.6 Programming Data Manipulation (pp. 108-116) 6.3 Procedural Units (pp. 280-287) This website (Links to an external site.)provides introductory lessons and examples for Python The lessons in the following categories will be helpful in completing Project 1 Introduction Flow Control (Python if...else lesson only) Functions (Python Function and Function Argument lessons only) Function Requirements Your program MUST utilize the following functions (included in the project file on the Linux server): def calculateWindchill(temperature, windSpeed): def convertTemperature(temperature): def displayOutput(temperature, windSpeed, fWindChill, cWindChill): def withinRange(value, min, max): def main(): Function Descriptions calculateWindChill Accepts the temperature (in Fahrenheit) and wind speed values Calculates the wind chill using the equation provided below Returns the result of the wind chill calculation convertTemperature Accepts the wind chill temperature (in Fahrenheit) Converts the temperature from Fahrenheit to Celsius using the equation provided below Returns the result of the temperature conversion displayOutput Accepts the temperature, wind speed, wind chill (Fahrenheit) and wind chill (Celsius) values Displays the values to the monitor (refer to the Example Output section) The function does not return anything (no return statement is necessary) withinRange Accepts the user's input value, the minimum value of the valid range, and the maximum value of the valid range Determines if the user's input value falls outside the specified valid range If the user's input value is outside the valid range Display an error message to the monitor (refer to the Example Output section) Returns true if the user's input value is within the valid range; otherwise, false main Prompt the user for a temperature value (refer to the Example Output section) Valid range is -58 to 41 Prompt the user for a wind speed value (refer to the Example Output section) Valid range is 2 to 50 Test if temperature and wind speed values are within their respective ranges If, and only if, both values are within range Calculate the wind chill Convert the wind chill result from Fahrenheit to Celsius Display the results to the monitor Program Logic The program must use the functions provided above DO NOT modify the provided functions DO NOT create any additional functions Display your name followed by a blank line Prompt the user for 2 integer numbers (i.e., 0, 1, 2, …) and store the entered values in variables Note: Display each prompt on a separate line. Outside temperature (to) Valid range: -58 to 41 (inclusive) Wind speed (v) Valid range: 2 to 50 (inclusive) After the user enters the values (temperature and wind speed), test the input by calling the withinRange function for each value Is the input within the valid range? Note: Use the return value of the withinRange function. If not, display the error message The entered value is out of range [x – y] Note: x and y represent the minimum and maximum values of the valid range, respectively. Note: If either of the input values (temperature or wind speed) are not within their valid range, after displaying the out of range error message, do not execute the remainder of the program (skip step 5). If the user’s input values (temperature and wind speed) are both within their valid ranges Call the calculateWindChill function and store the returned value in a third variable Note: Use the exact code below to calculate the wind chill temperature using the Wind Chill equation. windChill = 35.74 + 0.6215 * temperature - 35.75 * pow(windSpeed, 0.16) + 0.4275 * temperature * pow(windSpeed, 0.16) Call the convertTemperature function and store the returned value in a fourth variable Note: Use the exact code below to calculate the Celsius temperature using the Fahrenheit-to-Celsius equation. celsius = (temperature - 32) * 5 / 9 Call the displayOutput function Determine the minimum width of each column from the provided example Display wind chill values (Fahrenheit and Celsius) to 3 decimal places
3
posted to Ask by isiaht111 (1) 1 day ago
6
Click!
Liveclick is a simple game where you CLICK the screen to advance. Yes, Python _*does*_ support CLICKING! It uses Curses, an interesting module I just found out about. There's a board with everyone who's been on before and it shows how many clicks there are in total. Awesome! [Runlink](https://Liveclick.ebest.repl.run) *I want upvotes so I can go biking!* *EDIT*: I was mentioned on our favorite blob (2 weeks in a row)! -Ebest
4
posted to Share by ebest (407) 7 days ago
3
Online Music Player
**The Online Music Player** is a user-friendly web application which uses the YouTube API and was styled with Materialize framework. The app’s advantage lies in its convenience. If available, song lyrics are displayed, as are the comments related to the song's meaning as well as the cover image of the album. It delivers ad-free content which can further be organised into playlists. I found inspiration for song recommendation in the mini [template](https://repl.it/@paulfears/similiar-music-api) on the contest page. You can switch between found search results by clicking on next/previous buttons. To reload the currently displayed song, you can just click on the song’s name. By clicking on artist’s name, you are redirected to that artist’s Wikipedia page. To go through songs in playlist you should first start the playlist in the playlist menu. Playlist starts from currently selected song in it, if you are not listening to something from playlist, then it starts from top. You should very quickly figure out all other functionalities, if not I am happy to answer any questions. This was not a group project. Updates: Added history of played songs. More responsive and mobile-friendly design.
4
posted to Challenge by GrinInTheBin (8) 3 days ago
1
Import arcade Error
the console gives me the following error when running code don't know what to to do i would appreciate some help ![image](https://storage.googleapis.com/replit/images/1563120205163_842e74a84d3812879be71edd1efaab38.png) ![Uploading image.png...]()
8
posted to Ask by AhmedOmda (0) 3 days ago
2
🎶🤖 Robo-Band 🤖 🎶
Pick a song and twiddle some knobs. The Robo-Band will play just the way you want them to! 🤖 🎺🤖🎸🤖 🎷 So far, there are only a few (public domain) songs to choose from. I will be adding more in the coming days... Make your requests!
2
posted to Challenge by ryanlague (1) 1 day ago
5
Fishing Frenzy BETA BETA
Fish for fish in this rigged game. Simple and extraordinary hard. Tell me if you reach 100 points.
3
posted to Share by ChristopherLi5 (5) 7 days ago
4
One More Digit (Sneak Peek)
In this game, you will need to find out the secrets of AMBit, the most advanced AI yet, while getting the help of other users. He is not shown in this version. It takes place 57 yrs from now, in 2076. I'll post more versions soon. Enjoy!
9
posted to Share by TristanMisja (6) 10 days ago
77
Hack! - A text-based puzzle game
Use your hacking skills for good and uncover the dark secrets that TechCompany holds. *If you are interested, be sure to check back frequently for any updates!* **Changelog** *11:00am EST 3/19* Fixed a few bugs *5:00pm EST 3/18* Removed .env passwords due to major bug *11:30am EST 3/18* Added slightly different ending depending on whether you expose Steve cheating or not Hid passwords in .env file
50
posted to Share by mrsprinkletoes (121) 4 months ago
12
my plane game
this is a fun turn based game your main goal is to get away from the German planes
17
posted to Share by ethanheys (38) 1 month ago
4
How basic SQL injection works - with a demo
In this tutorial, we are going to be targeting my 'vulnerable cloud storage' program (https://vulnerable-cloudstorage--marcusweinberger.repl.co). The way it works is users can store and read data, with authentication. Usernames and passwords are stored in a sqlite3 database. For this demo, the user 'test' has been added with a password of 'test' and has 4 files containing irrelevant data. The first example of SQL injection can be seen on line 13. In the request, you are supposed to supply a username and password. However, as you can see, this is not a regular password. We gave the password "x' OR '1'='1" with the username "test". When inserted into the SQL command on the server, the command will look like this: SELECT ID FROM USERS WHERE USERNAME='test' AND PASSWORD='x' OR '1'='1' What we have just done is taken advantage of poorly written code to make the server execute commands that were not intended. The simple mistake I (purposefully) made in my code is using %s to format a string. In sqlite3, there is a way to do this correctly by not using any quotation marks and having question marks in place of data and passing a tuple with the data in the arguments. To learn more about input sanitization and good practice, look here: https://www.hacksplaining.com/prevention/sql-injection Anyway, this script uses SQL injection to bypass all authentication and replaces all the user's data with random characters. SQL injection is the most common vulnerability found in websites. It is an easy mistake to allow and can have devastating results like someone taking complete access of your server or looking at confidential information (eg passwords).
3
posted to Learn by MarcusWeinberger (17) 7 days ago
4
Question Answering Machine - Q&A Search Algoritam
You ask any question and we use an algorithm I created to deliver the answer with plenty of information along with it. We scan articles from the world's largest encyclopedia, Wikipedia. Then we delivered specific parts of the text. Do you have a question, take your hand at Wiki answer. Upvote if your question was answered, it will also help me know how good or bad the algorithm is. Thanks!
4
posted to Share by RyanRana (152) 8 days ago
7
Stonks! A new stock simulator/game!
A stock simulation where you will verse a computer. There are 4 computer levels, and only a minute to make as much money as you can. WARNING: Immense amounts of stress may lead to myocardial infarction. Play it to find out more!
3
posted to Share by Spandan14 (10) 14 days ago
121
🤖Ultimate A.I.🤖
This is Ultimate A.I. He learns how to answer questions and chat the more you speak to him.This was made using a basic "neural network" my class invented. This was made mostly by alexis garcia, who wanted to learn coding in my mechatronics class. ![Capture](https://storage.googleapis.com/replit/images/1548652030249_88014b9d71797ae7acff96f4cbe9ea8a.pn)
44
posted to Share by PCL (233) 6 months ago
59
Banking Simulator
I am working on this for game jam., and i would like some ideas for what i can do to improve! Update 1.7: Added more color (e.g red text when you LOSE money) Added donation bin
69
posted to Share by AzureScripts (130) 4 months ago
12
Epic Clickbait Title Generator
Are you a struggling YouTube channel that needs help? Do you have a difficult time trying to make catchy titles? Well. You're in luck! Simply paste in the url of the video section of the youtube channel that you like and BAM! You will have infinite stream of new titles similar in style to the channel you chose! ;) All jokes asside this python script scrapes the first 30 video titles from YouTube depending on the channel you select, and then runs them through a markov chain to create new ones. Note: For the url: 1. You must go to the channel's homepage 2. Then go to the "videos tab" 3. Copy the URL in the address bar. 4. Paste it into the prompt in the program!
29
posted to Share by c4syner (22) 2 months ago
98
Wikigoogler (Question Answering Bot)
# Wikigoogler: It's trying its best ! This is Wikigoogler, an AI which uses the power of Google and Wikipedia to find which answer it thinks is the most correct out of the choices you give it! Wikigoogler was formerly part of an HQ Trivia Bot(I never won any money, but it was a lot of fun making it). Here are a couple of questions I asked it and the answers I got: What is the best operating system? Linux, Windows, MacOS Wikigoogler thinks its Linux. Looks like it knows its stuff! ;) What is the most popular programming language? Python, Javascript, C++, Java, Rust, Ruby Wikigoogler thinks it is Javascript! I hope you guys have fun playing with this! Sometimes it comes up with really funny stuff! Do you want to know what the best programming language is? Ask Wikigoogler and give it some answer choices! I hope you all have fun playing with it! If you think it's cool, click that upvote button! If you have any questions, I'd love to answer them(or maybe you can just ask Wikigoogler! :D).
56
posted to Share by ArpanDhatt (139) 6 months ago
2
Have a Rapbattle against a computer!
This was not a group project, and it was programmed on mobile.
7
posted to Challenge by Thehappysquid (3) 7 days ago
43
Oregon Trail
**This game is designed for full screen using the editor display will cause the game to look out of proportion and discolored. Sorry if the proportions are off; everyone's monitor is different. There's nothing I can do to fix this... Here's the link to play in full screen: http://oregon-trail-game.mavrick.repl.run ** This is a "rework" of the original "Oregon Trail" developed by Don Rawitsch, Bill Heinemann, Paul Dillenberger and MECC in 1971. It's not final yet, but it does have lots of work in it and will have much more in the future. The game is completely finished, and the full version was released on the 18th of April at 21:58 (9:58 PM) EST. Keep in mind that this will not be an exact copy of Oregon Trail. There will be *many* elements, story lines and other parts that are very different than the original game, but there will also be many aspects intentionally put into the game to remember and, in some cases, mimic the original game. This is my first-ever game that I've done on my own, so hopefully it's good. I would greatly appreciate any feedback you have on the game. Make sure to upvote and comment if you want to help me out and if you want to see this game improve ** - - - ** **Background:** This game takes place in a alternate history world that is almost exactly like ours, except that there is a major threat to the travel to the West in the form of a powerful bandit group called the **Pandora** Group. **In this game, your choices matter.** ** - - - ** **Tip:** In order to enjoy the full story experience of the game, I would recommend talking to the townsfolk whenever possible. Don't get too trigger-happy. Any key presses during scrolling text will be put in the next input section; that includes pressing the enter key. Putting weird symbols or pressing backspace too many times may mess up the graphics, so unless you want a terminator-background, try not to hit your head on the keyboard. At some points where a Yes or a No is required, text entries that are not one of the answer choices sometimes are counted as a no or the last answer choice. Beware of that when answering. ** - - - ** ** Command list (Type these in before pressing enter on the "Press enter to start" prompt at the beginning)** "hardmode" - Typing this in will increase the chances for a character to get sick, to allow for a more classic Oregon Trail feel. "end" - This will skip to the end of the game, allowing you to skip all of the travelling time and start the game already at the Whitman Mission. **This is especially useful for judging or bug testing** "skipintro" - self explanatory. Skips the intro (the title screen and startup colours) if you have already seen it And of course, pressing enter normally will result in playing the game normally. ** - - -** Thanks, and enjoy!
44
posted to Share by Mavrick (77) 4 months ago
62
👊 Live PewDiePie sub count 👊
# Subscribe To PewDiePie PewDiePie, the most subscribed to YouTube channel is in danger. A large bad corporation by the name of T-Series is threatening to surpass PewDiePie but us 9 year olds cannot allow this. Subscribe to PewDiePie today and do your part. Here's the link to automatically subscribe to PewDiePie: https://www.youtube.com/user/PewDiePie?sub_confirmation=1 Here's a live PewDiePie vs T-Series sub count (made by me), http://sub-to-pewdiepie.mat1.repl.run/, now ***GO DO YOUR PART AND SUBSCRIBE TO PEWDIEPIE TODAY*** Leave a comment if you subscribed or are already subscribed to PewDiePie ;)
60
posted to Share by mat1 (2242) 5 months ago
4
Song guess quiz
This is a music game where you have to 'log in', answer the questions - you have 2 lives on each question, and then earn points - 3 points if you answered correctly the first go, 1 point if you guessed right the second time. Finally your score will be added to a bank of high scores
4
posted to Challenge by YutingShang (18) 11 days ago
17
Worlds Hardest Game
Worlds Hardest Game, almost impossible. Still really hard. If you don't guess correctly you lose. 1 or 2 **New: Made harder now it takes more tries to win. Chance of Winning: 0.78125%** `Winners:` @Murzikal @ProgrammerAI @TommyIsAwesome @LucasOrdway @Aidan72 @Minion3665 @FrancoSinisi @xeroc144 @Fire_Kiwi @itbarsoum @jason21
62
posted to Share by Pythonier (299) 3 months ago
24
Pychat
I'm making a Python chat server to mimic this one: https://repl.it/talk/share/Working-Chatroom/3741 But that one does not work anymore. Here's mine: https://repl.it/@ebest/Pychat I still want to encrypt it though. More features coming soon! (hopefully) Use !commands to show all commands Changelog: _________________________________________ V: 1 Added users, a few commands _________________________________________ V: 1.1 Added !colorc to change text color Added !commands to show commands Added admins _________________________________________ V: 1.2 Improving !who, fixed problem of having who repeat at login the amount of times !who's been called. _________________________________________ V: 1.3 fixed problem with all times from messages before startup being condensed so all times are the startup times _________________________________________ V: 1.4 Added new commands, added hidden passwords with usernames. _________________________________________ V: 2.0 Added about 99 admin commands. Just ask for an account. I'll also need your credit card number, its expiration date, and the numbers on the back. And give me your email (Actually). -Ebest
37
posted to Share by ebest (407) 3 months ago