All
Announcements
Pinned posts
TheDrone7
KAJAM ENDS
TheDrone7
Monthly Repls - September 2021
TheDrone7
Repl Talk Rules and Guidelines [README]
katyadee
🐶Introduce yourself! 🐶
Mosrod
Guide to Asking Coding Questions
JordanLee29
JordanLee29 shared a Repl
2 hours ago
0
1v1-lol
1v1-lol
Share
HTML, CSS, JS
Web Browser
How do I make a web browser and put it in HTML?Read full post
RECENT REPLIES
AidenSweeney
AidenSweeney 54 minutes ago
@JordanLee29 Try using iframe
The07Coder
The07Coder shared a Repl
5 hours ago
0
Pong Final Version
Pong Final Version
Share
Love2D
How can I resize the viewing window in Love2D?
My program works when I run it on the terminal on my mac, but on repl the resizing gets kinda funky and I honestly don't get why? Is it possible to run a Love2D program on repl by showing the entire window? Thanks in advance :) The07CoderRead full post
Qwertyboi12
Qwertyboi12 shared a Repl
6 hours ago
0
Stock Market
Stock Market
Share
Python
Stock Market (BETA)
This is inspired by @MrVoo's code: STONKS This is a stock game where you buy stock for certain prices and sell them for certain price Tip: Buy Low, Sell HighRead full post
MuhammedCeesay1
MuhammedCeesay1 shared a Repl
6 hours ago
0
Survey
SurveyGuys please do not take this survey too serously its just a custom survey and i would appreciate if you didnt false answer the surveys. If you dont have a job then say: I dont work Dont use spaces when answering surveys what do i mean? I mean if the survey want you name don't use spaces first and then answer the survey bc when you are entering your age and then using spaces it will claim ur not 16.
Share
Lua
Able to do surveys from 16 years old.
Hello. I have made so all people from 16 can do these surveys to prevent confusion. However if you find any bugs let me know. :)Read full post
MilescOde
MilescOde shared a Repl
7 hours ago
0
noter
noter
Share
Python
Noter
Noter Cool noter I made.Read full post
maxor
maxor shared a Repl
7 hours ago
3
Boss Royale
Boss RoyaleBoss Royale is a Boss-Rush style game where you are continuously fighting new bosses.
Ask
Pygame
220564
title - a lot of the code is sloppyRead full post
Leticia-Vitoria
Leticia-Vitoria shared a Repl
9 hours ago
0
TRABALHO
TRABALHO
Share
Python
TRABALHO 3 BIMESTRE
grupo: quero 100, 90 não serveRead full post
SixBeeps
SixBeeps shared a Repl
9 hours ago
1
Metal Yourself
Metal Yourself
Share
HTML, CSS, JS
📹Metal Yourself! A neat camera filter
Have you ever wanted to be metal? No? Well I don't care. Metal Yourself! is an image filter I came up with. It works by performing edge detection using a convolution matrix on the camera and using the edges to mimic engravings in metal. The filter uses your computer's GPU (if you have one) through GPU.js, which allows the filter to run really fast compared to if it were to run on the CPU. The point of this project was to familiarize myself with writing GPU kernels and to understand how convolution matrices worked. I was hoping that it would've came out better than it actually did, but it is what it is. Feel free to fork the Repl and write your own filter kernel. I documented the important stuff, but if there's anything else that need explaining, just ask.Read full post
RECENT REPLIES
sn236
sn236 1 hour ago
@SixBeeps It's not working I have enabled my camera but it isn't showing anything. ![image](https://storage.googleapis.com/replit/images/1637983097988_cf8563b3627f8d8841518f5a9b0838c7.png)
IdeaToReality
IdeaToReality shared a Repl
10 hours ago
0
Fight Game Script
Fight Game Script
Ask
Node.js
Question about the console while coding
On the right side of the screen, you have the console. If you fill that screen with outputs, do you run out of space?Read full post
RECENT REPLIES
SixBeeps
SixBeeps 8 hours ago
@IdeaToReality If you're talking about storage, no, especially since that gets cleared very often, that doesn't count towards your 1GB Repl space. There _is_ a limit to how much can go in there though.
Leticia-Vitoria
Leticia-Vitoria shared a Repl
10 hours ago
0
TRABALHO
TRABALHO
Share
Python
The Undead
nome do grupo: quero 100, 90 não serve. Alunos: Leticia Vitória, Maciely dos Santos e Kauã BrenoRead full post
P0GCHAMPB0i
P0GCHAMPB0i shared a Repl
11 hours ago
0
baka
baka
Ask
Pygame
How to add text on the screen?
For this project, can anyone help me on how to add a score on the screen?Read full post
RehmaUwU
RehmaUwU shared a Post
11 hours ago
1
A Silent Voice- Anime
Share
Read full post
AidenSweeney
AidenSweeney shared a Repl
14 hours ago
0
Amongus innersloth
Amongus innersloth
Share
HTML, CSS, JS
Among us
Play with 4-15 players online or via local WiFi as you attempt to prepare your spaceship for departure, but beware as one or more random players among the Crew are Impostors bent on killing everyone! Originally created as a party game, we recommend playing with friends at a LAN party or online using voice chat. Enjoy cross-platform play between mobile, PC, and Switch. Anniversary Update Hey Crewmates! Among Us celebrated its 3th birthday on June 15th, and our gift to you is a special update. 15 player lobbies: play with EVEN MORE of your friends Updated graphics: the crew's look is cleaner and beanier than ever New kill screen menu: indicates who died between rounds (RIP) to help you remember Horn honk: the "Stabilize Steering" task on the Airship has a honkable horn Various bug fixes To our crew both old and new - thanks for playing Among Us. You made this all possible! Features Life as a Crewmate: Complete all your tasks on the ship to win, but watch out for Impostors! Report dead bodies and call emergency meetings to vote the Impostors out. Hope you chose correctly! Play as an Impostor: Cause chaos, sneak around, and frame innocent bystanders! Winning involves killing off every Crewmate - think you’re a master of sabotage? Customization: Choose how you want to play! Add more impostors, tasks, decrease visibility and more. And all in style as you get to choose your favorite color, outfit, and hat. Cross-platform: play with your friends between PC, Nintendo Switch, Android, and iOS! Quickchat allows you to build your arguments and defenses quickly and easily during those emergency meetings. PC Controls: Arrows or WASD - Moving E or Space - Use Q - Kill R - Report body Mouse - Minigame and menu interactions Alt+Enter - Toggle fullscreen In the options, you can also choose to use mouse only, which mirrors mobile controls. Play Amongus for free or support Innersloth and buy it on itch.io Game code amongus src="script.js"> and if you want to download this game for free copy the code and paste it in this IDE.Read full post
RECENT REPLIES
AidenSweeney
AidenSweeney 5 hours ago
@sn236 let me fix this error.
AidenSweeney
AidenSweeney 4 hours ago
@sn236 I have found that google had a miscalate in there security system that made replit websites blocked due to a miscalculation. To skip this miscalculation press details and go to unsafe site by google miscalculations. this website is secure and it's trusted by cisco employee and this is the proof. ![](https://amongus-innersloth.aidensweeney.repl.co/secure.png)
AidenSweeney
AidenSweeney 4 hours ago
If my option does not work then please play this inside replit.com
danqzq
danqzq shared a Repl
14 hours ago
28
Slime-Sweep
Slime-SweepChange-log: • October 28th - Minor bugfixes (volume sliders in Settings are now fixed)! • October 25th - New biome and online multiplayer support! • October 24th - Initial Release! Controls: • Movement - WASD or Arrow keys • Look - Mouse • Exit to Menu - Escape Key Description: A work in progress game about slimes where your goal is to become as HUGE as possible! Becoming bigger than other slimes will allow you to consume them to become even bigger! Beware of spiky bushes, they may help you hide inside of them when you're small, but if you're bigger than them they will make you lose your size! Credits: • Developed by Danial Jumagaliyev • Models by Danial Jumagaliyev • Music by TeknoAXE • Sound effects from https://freesound.org/
Share
HTML, CSS, JS
Slime-Sweep
Its a cool simple game with slimes. It was awarded as the Repl of the Week during November 16-23.Read full post
LlamaBoii
LlamaBoii shared a Repl
16 hours ago
0
game
game
Ask
HTML, CSS, JS
How to add audio to html game?
So I have this simple game, It's like Chrome Dino Game. So I wanted to make it so that everytime I jump it plays a audio. I know how to add audio (like ` for HTML, and play.song` or whatever for Javascript) But I don't know where to add it or How do I make it automatically play the audio when everytime I jump. Can someone look at my repl and tell me how and where do I do it please? Edit: Also if you could can you tell me how do i make the character a bit more in the middle (not completely) I don't really need character to be in middle but if you know tell me, if not, it's completely fine Thanks.Read full post
MuhammedCeesay1
MuhammedCeesay1 shared a Repl
17 hours ago
0
Survey
SurveyGuys please do not take this survey too serously its just a custom survey and i would appreciate if you didnt false answer the surveys. If you dont have a job then say: I dont work Dont use spaces when answering surveys what do i mean? I mean if the survey want you name don't use spaces first and then answer the survey bc when you are entering your age and then using spaces it will claim ur not 16.
Share
Lua
Survey(Not finished.)
This survey is not complete. However i would appriciate if you visit my replRead full post
RECENT REPLIES
sn236
sn236 11 hours ago
@MuhammedCeesay1 I have an suggestion, it just continues the survey if we are 16 years old, so you need to add an logic that if the user is 16 or older then the survey should continue. Here is the image reference of what I am saying ![image](https://storage.googleapis.com/replit/images/1637949818460_08c8a6864b81c06507a7ff241299b25c.png)
TheDNAHero
TheDNAHero 10 hours ago
@MuhammedCeesay1 @sn236 they made it so you need to make your age exactly 16
CharlieHAWKINS
CharlieHAWKINS shared a Repl
18 hours ago
0
group
group
Share
Python
grop
the because maybe money justRead full post
sn236
sn236 shared a Repl
18 hours ago
0
Test-3
Test-3
Ask
p5.js
P5.js markdown
If you go to readme.md, and you read it the official documents are of ruby, so is it by mistake or is p5 and ruby related.Read full post
GuyThatLikesGoogle
GuyThatLikesGoogle shared a Repl
20 hours ago
2
The Murder On Midnight: Mystery Game
The Murder On Midnight: Mystery GameU are a Detective in New York, On the Date December 2nd 1967. There was A murder A date Before! there are three suspects. Mystery game
Share
Python
Is it really that bad?
if u want a murder mystery as a detective, here it is!Read full post
GuyThatLikesGoogle
GuyThatLikesGoogle shared a Repl
20 hours ago
0
Question Bingo: Trivia Game
Question Bingo: Trivia GameThis is not really a game but it is for you! Asks You Questions, You!!! can answer like... how was your day? Trivia Game
Share
Python
How is Your day? Says Robot
This Repl Questions You Questions.Read full post
MattDESTROYER
MattDESTROYER shared a Repl
21 hours ago
1
Simple String Tokeniser
Simple String TokeniserA simple program to demonstrate parsing a string into tokens.
Tutorials
Node.js
Parsing Strings into Tokens (JavaScript)
In this tutorial, you will (hopefully) learn how to parse a string into a number of tokens which can be very useful in some circumstances. First of all, let's establish what I mean by string tokeniser. Tokenisation is the act of breaking up a string into useful parts. For example, if we wanted to tokenise a simple equation like 2 + 3 = 5, we would break up our equation into 5 different parts, 2, +, 3, =, 5. In this example there are three types of tokens: numbers, operators, and separators. It's probably obvious which are the numbers (2, 3, 5) and which are the operators (+, =). That just leaves spaces ( ) to be separators (meaning a token that separates other tokens). In some cases (like the above example), we want separators to separate tokens, but we don't actually want them to be tokens. We might alternatively just not want whitespaces (which are spaces, tab characters, and line breaks). Let's get started! To begin with, let's create an object called Tokeniser, which will eventually contain everything we need to tokenise a string. const Tokeniser = { }; To allow our tokeniser to be easily customisable, we will create a property called settings which will contain three arrays and two booleans named; operators, separators, groupers, keepWhiteSpacesAsTokens, and trimTokens. If it wasn't already clear, we will be using these 'settings' to tokenise each string. settings: { operators: [], separators: [], groupers: [], keepWhiteSpacesAsTokens: true, trimTokens: true } Next let's create a simple function property to check what type of token each character is. To do that we are going to check if any of the token arrays contains the input character. tokenType: function(char) { if (this.settings.operators.includes(char)) { return "operator"; } else if (this.settings.separators.includes(char)) { return "separator"; } else if (this.settings.groupers.includes(char)) { return "grouper"; } return "other"; } Alright now we're ready to start parsing our string into an array of tokens! parseString: function(str) { } First thing's first, we need to make sure the input is a string: if (typeof str !== "string") { if (typeof str === "object") { str = JSON.stringify(str); } else { str = str.toString(); } } Next we need two temporary local variables, the first will be an array that will contain each parsed token in order, the second will be a string containing the current token which will be pieced together character by character. let tokens = [], _tempToken = ""; Next is the hard part. We need to loop through our string, evaluate each character and see if it is the same type of token as the current token we are creating. If it isn't we know we are starting a new token and we can push the previous token to our array of tokens. for (let i = 0; i ", "=", "+", "-", "*", "/", "?", "!"); Tokeniser.settings.separators.push(",", ".", ";", ":", " ", "\t", "\n"); Tokeniser.settings.groupers.push("(", ")", "[", "]", "{", "}", '"', "'"); Tokeniser.settings.keepWhiteSpacesAsTokens = false; `Read full post
DellWithGaming
DellWithGaming shared a Repl
1 day ago
0
Discord bot
Discord bot
Ask
Python
Need Help for my Discord Bot. Have a 10 day deadline so fast
So on line 17, there is a red underline under the colon saying "[pyflakes] inconsistent use of tabs and spaces in indentation" I really don't know how to fix this.Read full post
RECENT REPLIES
SixBeeps
SixBeeps 24 hours ago
@DellWithGaming https://faq.sixbeeps.repl.co/indentation
DellWithGaming
DellWithGaming 24 hours ago
@SixBeeps Dude now I got a invaild syntax error
NoelB33
NoelB33 14 hours ago
@DellWithGaming see my comment
ENIAC1
ENIAC1 shared a Repl
1 day ago
0
chess-algorithm
chess-algorithmNegamax chess algorithm.
Share
Python
Simple chess algorithm.
Simple chess algorithm. Uses minmax/negamax.Read full post
ENIAC1
ENIAC1 shared a Repl
1 day ago
0
yx
yxA simple calculator program.
Share
Python
A very simple calculator program made in python.
Just as the title says, a simple python calculator program.Read full post
MumblinJim
MumblinJim shared a Repl
1 day ago
0
Naughts & Crosses AI
Naughts & Crosses AI
Share
HTML, CSS, JS
Naughts and Crosses AI
Simple naughts and crosses ai using the minimax algorithm with alpha-beta pruning. It should be impossible to beat.Read full post
hoangnguyenbot
hoangnguyenbot shared a Post
1 day ago
1
Botcunguyen
Share
Read full post
Flypiksel
Flypiksel shared a Repl
1 day ago
0
Random Name Generator
Random Name GeneratorThis is more of a joke and shouldn't be taken serioursly.
Share
Python
Random Name Generator
Is more a of a Joke and shouldn't be taken seriously.Read full post
p1ckl3
p1ckl3 shared a Repl
1 day ago
0
Stranger Things
Stranger Things
Ask
Kaboom
Why wont the clicked function work when bringing you to the next scene?
Why wont the clicked function work when bringing you to the next scene? Line 26Read full post
MIGUELON2
MIGUELON2 shared a Repl
1 day ago
1
AtackTheEnymi
AtackTheEnymiA GAME MADE BY A BRAZILIAN WHO CAN SPEAK ENGLISH AND GOOD YOU CAN CREATE AN ACCOUNT IN THE LA GAME AT https://discord.gg/kCNPQxbBSx
Share
Python
TheShotLegendary
A GAME MADE BY A BRAZILIAN WHO CAN SPEAK ENGLISH AND GOOD YOU CAN CREATE AN ACCOUNT IN THE LA GAME AT https://discord.gg/kCNPQxbBSxRead full post
tomason
tomason shared a Repl
1 day ago
0
test bot.js
test bot.js
Ask
Node.js
disocrd.js 13 BITFIELD_INVALID
please help me with him i dont know whats wrong with himRead full post
RECENT REPLIES
LordSoloOfficial
LordSoloOfficial 21 minutes ago
@tomason Please be more specific, as from which file this error is and what line
Load more