Make a Game. Win a Bitcoin.

00
Days
00
Hours
00
Mins
00
Secs

Until Jam Ends on Apr 18

Posts
Pinned
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
54
posted to Share by timmy_i_chen (590) 9 months ago
Pinned
👾We're hosting a Game Jam! 👾
# Our First Game Jam! You asked, we answered: **on March 18 at 12:00 AM PST, we’re kicking off our next challenge!** ### The theme & our grand prize You might have heard that our grand prize is 1BTC ($3,829.00 USD... give or take depending on the day!). In light of that, the theme is cash. Crypto, fiat, paper, coin... whatever cash means to you. ;-) ### How to submit Submitting is easy! All you have to do is: 1. Start a project by picking a [language/framework](https://repl.it/repls). We recommend checking out Pygame, LOVE2D, Tkinter, and Java Swing. 2. Share your repl on the [challenge board](https://repl.it/talk/challenge) Make sure to do this by **April 18, 2019 at 11:59 PM PST.** ### Our winners **First Place & Best Overall Game** **Best Individual Game** **Best Group Game** **Best Story** **Best Graphics** **Community Vote (Honorable Mention)** ### How to work in a group You can submit individually, but for this challenge, you’re also more than welcome to submit as a group. Groups can collaborate together in real time using **Multiplayer**—learn more about how to use it [here](https://repl.it/site/blog/multi). (If you want to work in a group but can’t find one, we’ll be informally matching people on our [Discord server](https://repl.it/discord) under >Challenge >#matchmaker.) ### Starting with tutorials for inspiration We know designing a game in a month is no easy feat. Here are a few tutorials to help get you started: * [A starter guide to Pygame](https://repl.it/talk/learn/A-Starter-Guide-to-Pygame/11741) * [How to make a puzzle platformer with HTML5 and Javascript](https://repl.it/talk/learn/How-To-Make-A-Puzzle-Platformer-In-HTML5-And-Javascript/7584) * [How to make a phaser game with HTML5 and Javascript](https://repl.it/talk/learn/Making-a-Phaser-Game-with-HTML5-and-JavaScript/7593) * [Build AI game with p5.js and ml5.js](https://staging.repl.it/talk/learn/Build-an-ML-app-with-just-a-little-JavaScript/10372) * [Game Tutorial: Canyon Runner](https://repl.it/talk/learn/Game-Tutorial-Canyon-Runner/5748) * [Text-based adventure games in Python](https://repl.it/talk/learn/Cave-Commander/7029) * [JavaScript Games: Lesson 1, GuessIt](https://repl.it/talk/learn/Javascript-Games-Lesson-1-GuessIt/9494) * [JavaScript Games: Lesson 2, Awari](https://repl.it/talk/learn/Javascript-Games-Tutorial-2-Awari/9631) * [JavaScript Games: Lesson 3, The Canvas](https://repl.it/talk/learn/JavaScript-Games-Tutorial-3-the-Canvas/11299) * [World-map generation for Ultima-style RPGs](https://repl.it/talk/share/FantasyMapGenerator/6883) * [Beginner 3D Graphics](https://repl.it/talk/learn/3D-graphics-a-beginners-mind/7909) * [How to draw pixel art on Python with Turtle](https://repl.it/talk/learn/How-to-draw-Pixel-Art-on-Python-with-Turtle/7556) * [Game Tutorial: Tetris in Python] (https://repl.it/talk/learn/Game-Tutorial-Tetris/9041) * [Game Tutorial: SSSnake in Python](https://repl.it/talk/learn/Game-Tutorial-SSSnake/8923) * [Game Tutorial: Space Invaders in Python](https://repl.it/talk/learn/Game-Tutorial-Space-Invaders/9550) * [Learn Space Shooter with HTML5](https://repl.it/talk/learn/Space-shooter-with-HTML5-and-Nodejs/8236) ### FAQ Click [here](https://repl.it/talk/challenge/Game-Jam-FAQ/11433) for our full FAQ. P.S. Don’t forget to invite your friends! We created a handy sign up page just for potential challenge participants [here](https://repl.it/jam).
188
posted to Challenge by KatyaDelaney (80) 16 days ago
Pinned
Game Jam FAQ
*This is a living document!* # RULES 1. All entries must be completed by April 18. You're welcome to work prior, but **submissions** begin March 18. 2. You must submit a game. If it's not obviously a game, let us know why you're submitting it and how to play! 3. Work must be developed on repl.it and run on repl.it. 4. All work must be your own or properly credited. Feel free to reach out to us with any questions. 5. No purchase of any kind necessary. # FAQ **How long is the challenge going to run for?** It opens on March 18th and ends on April 18th. You’ve got a full month to create a cool game! **How will the prizes be distributed if a group wins?** If a group wins the top prize, we'll distribute it evenly. **How will entries be judged?** That's up to our judges! Read more about them [here](https://repl.it/jam). No more upvote rigging, folks. **Does my game have to fit the theme?** The theme is **CASH** and it's there to inspire you! Feel free to interpret it however you’d like. But no, no points off if your submission doesn’t have a “cash” element in it. **Can I submit with a friend?** Yes! Groups up to 10 and individuals can submit. We’ll be giving out awards for best individual project and best group projects, but any submission is eligible for the top prize. **I want to submit with a friend, but I don’t have any. Help?** Check out #Challenge > #matchmaker on our [Discord server](https://repl.it/discord)—you’ll be able to find a group there. **Can I submit something I created before the challenge started? I mean, how will you even know I did otherwise?** We’d love to see it, but all games have to be designed on repl.it. We’re able to check the history… so don’t cheat! **Can I share my challenge entry before it’s finished?** Absolutely! You can edit your submission at any time, but you’re not permitted to make changes after April 18, 2019. **Can I change my entry after I’ve submitted it?** You can edit your entry up until April 18 at 11:59PM PST. After that, our submission period is closed! **I’m a member of the press and think this is cool. Who do I reach out to?** Shoot an email to [email protected] **I still have questions. Halp.** That’s okay. We’re here to help. Just send me an email at [email protected] # Asset Resources Need a little bit of help to get you started? Here’s a (n ever evolving!) list of free game assets. Just be sure to read the site carefully and give credit where credit is due ;-). ##### Art & Palettes [Itch.io’s Free Game Assets](https://itch.io/game-assets/free) [OpenGameArt] (https://opengameart.org/) [CraftPix Freebies](https://craftpix.net/freebies/) [Kenney Free Assets](https://www.kenney.nl/assets) [LoSpec Palettes](https://lospec.com/palette-list) ##### Music & Sound FX [FreeSound.org](https://freesound.org/) [Get-Sounds.com] (http://www.get-sounds.com/) [Free Music Archive](http://freemusicarchive.org/) [Free-Loops](http://free-loops.com/) Have assets you want to share? Let us know and we’ll add your download link!
92
posted to Challenge by KatyaDelaney (80) 16 days ago
1
does anyone know an if-then command that i can use to make my code go to one part or another?
h
0
posted to Ask by HaydenBasch (0) 3 minutes ago
1
Your Age in Earth years
This will turn your age in to earth years this is actual information.
0
posted to Share by MiniBerryCraft (0) 36 minutes ago
1
Forestry Beta
You are a lumberjack who is part of a lumber company. You are trying your best to make the most money. STILL IN BETA.
0
posted to Challenge by Fade_YouTube (4) 52 minutes ago
1
Assembly In Repl.it, Is it possible
For those of you who do not know what Assembly is, it is the lowest language other than machine language itself. Even though it is basically Machine language as your processors know it perfectly, We should add it in repl. Like x86 or the easier 6502 assemblers
1
posted to Ask by GageThomas (0) 1 hour ago
Pinned
1
✨PyGame Tutorials on YouTube ✨
Hey everyone! I've received a couple of requests for a dedicated PyGame tutorial post! I wanted to bring attention to [TechWithTim](https://www.youtube.com/channel/UC4JX40jDee_tINbkjycV4Sg), a YouTuber I stumbled across while collecting resources. I recommend starting with some of his videos if you're interested in getting started with PyGame: [PyGame Tutorial #1 - Basic Movements and Key Presses](https://www.youtube.com/watch?v=i6xMBig-pP4) [PyGame Tutorial #2 - Jumping and Boundaries](https://www.youtube.com/watch?v=2-DNswzCkqk) [PyGame Tutorial #3 - Character Animation & Sprites](https://www.youtube.com/watch?v=UdsNBIzsmlI) And that's just to start -- he's done quite a bit on PyGame. You can find more vids [here](https://www.youtube.com/channel/UC4JX40jDee_tINbkjycV4Sg/playlists?view=50&sort=dd&shelf_id=6). I encourage you to check them out! Feel free to post your favorite resources here.
1
posted to Challenge by KatyaDelaney (80) 1 hour ago
1
my css wont show up
https://repl.it/@Koalaknightmi/caedes-hostis1 coming from glitch some functions wont work like why wont my css show up
0
posted to Ask by Koalaknightmi (0) 2 hours ago
9
Goblin Hunter
Hello! This is the game I created for the game jam: Goblin Hunter. There are 2 players, the idea is to hunt (touch) the goblins that appear on the map, first to 20 points win! Player 1 moves with the arrow keys, and the Player 2 with WASD. Feel free to give feedback, if you want, you can look at the source code, I added comments so it's easier to understand. I recommend playing in a new tab/window.
0
posted to Challenge by Luisfetoga (18) 2 hours ago
0
A simple Oregon Trail Game
I made a simple Oregon Trail game in Java and was wondering how I could improve it
0
posted to Share by DAKOTAPONT (0) 2 hours ago
1
higher or lower
try to guess the number!! it is randomized evry time and will give you clues!
0
posted to Challenge by A9_cassidyo_y16 (0) 4 hours ago
3
SUB TO PEWDS
DONT LET YOU MEMES BE MEMES BE MEMES BE MEMES BE MEMES. Share for the cause, and up vote for the greater good of humanity. Thank you
0
posted to Share by JoshuaNewman1 (5) 5 hours ago
1
Oilo
Oilo
0
posted to Challenge by ItzForvelik (0) 5 hours ago
1
Roulette
Have fun playing. If you have any suggestions to improve the game, please let me know. PS: you might want to copy the code and run it localy. Somehow the top of the window is cut and it is running very slow.
0
posted to Challenge by ButterMesser (0) 7 hours ago
0
Holistic
Don't copy, please.
0
posted to Share by HarleyNix (0) 8 hours ago
1
Rolling Sky - Dudosinka
Dudosinka - Level Name
0
posted to Challenge by ItzForvelik (0) 8 hours ago
1
Website
I made a web site with 2 video games and the main theme is about memes
0
posted to Share by lsambrook (6) 9 hours ago
3
Jalcon Corporation
This is a repl that me, @Galamphin, and @coderash have put hours into on this Jalcon Account, it has many games, utilities and much more! We have a blog that we try update regularly and even a python program! [P] This has many pages that we would like you to explore!
2
posted to Share by Jalcon (6) 9 hours ago
3
HTML, CSS Results Not Showing Issue
Results are not showing when I hit the run button. On the console section it keeps saying, "Please run your project before using the console." Is there anyway to solve this issue?
6
posted to Ask by wthi001 (2) 10 hours ago
1
Rolling Sky - fhxXUKdLo8hxctLilcyyjcjJ (Hot Sun) by ItzForvelick
Stupid name of this level >:( (True name: Hot Sun)
2
posted to Challenge by ItzForvelik (0) 11 hours ago
1
TSK
I want to upload tsk onto repl.it for use. How do I do that?
0
posted to Ask by MihirJain (0) 11 hours ago
2
🚀 Using Webpack To Bootstrap A JS App (Webpack Dev Server)💎
# 🚀 Using Webpack To Bootstrap A JS App (Webpack Dev Server)💎 Webpack is an integral part of modern JavaScript tooling. It bundles all your JavaScript modules and has plugins for bundling CSS, JSX, and many other files. It's used for creating React and Vue single page applications and much more! We're going to be manually configuring Webpack to work using the official `webpack-dev-server`! ### Prerequisites - Intermediate experience with JavaScript - Understand basic Webpack concepts Note that a few days ago I created a Webpack tutorial [here](https://repl.it/talk/learn/Using-Webpack-To-Bootstrap-A-JS-App-Express/11929), but I used Express among other middleware and tooling. After I made that tutorial, I realized that it's definitely possible after studying the config of an ejected create-react-app. So I would recommend using this approach as it is easier. I typically wouldn't be posting such a similar tutorial in a small amount of time, but this method is truly more flexible and less confusing. # Getting Started Typically we create our projects (in development) using [webpack-dev-server](https://github.com/webpack/webpack-dev-server). We're going to be configuring and creating a quick Webpack development server. ![webpack](https://i.imgur.com/e0XFRGh.gif) ## Creating the Configuration Let's start off with requiring the packages and configuration files we need. ```js // index.js let path = require("path"); let webpack = require("webpack"); let webpackDevServer = require("webpack-dev-server"); let webpackConfig = require("./webpack.config"); ``` Remember to add `express` and `webpack-dev-server` as a dependency. Now, let's create that `webpack.config.js` configuration file. We're going to be including all the standard stuff. Be sure to add `friendly-errors-webpack-plugin` and `html-webpack-plugin` to your `package.json`. Most of this configuration is directly copied from the Express Webpack [tutorial](https://repl.it/talk/learn/Using-Webpack-To-Bootstrap-A-JS-App-Express/11929) I posted recently. ```js // webpack.config.js const path = require("path"); const webpack = require("webpack"); const FriendlyErrorsWebpackPlugin = require("friendly-errors-webpack-plugin"); const HtmlWebpackPlugin = require("html-webpack-plugin"); module.exports = { mode: "development", devtool: "cheap-module-eval-source-map", entry: { main: path.resolve(process.cwd(), "src", "main.js") }, output: { path: path.resolve(process.cwd(), "dist"), publicPath: "/" }, watchOptions: { // ignored: /node_modules/, aggregateTimeout: 300, // After seeing an edit, wait .3 seconds to recompile poll: 500 // Check for edits every 5 seconds }, plugins: [ new FriendlyErrorsWebpackPlugin(), new webpack.ProgressPlugin(), new HtmlWebpackPlugin({ template: path.resolve(process.cwd(), "public", "index.html") }) ] } ``` - [`friendly-errors-webpack-plugin`](https://github.com/geowarin/friendly-errors-webpack-plugin) outputs more helpful Webpack errors - [`html-webpack-plugin`](https://webpack.js.org/plugins/html-webpack-plugin) creates an HTML5 file and injects `<script></script>`tags with our Webpack bundles. Recall in our config we created a bundle called `main`, which is resolved to `./src/main.js`(this is the Webpack bundle we're injecting). And, because we're adding a `template` property, it means that `html-webpack-plugin` will use our HTML file, then inject the script tags - the `new webpack.ProgressPlugin(),` inside `plugins: []` gives Webpack's progress building your files (in the terminal) - I chose `cheap-module-eval-source-map` for the property `devtool` because it provides fast compilation with source maps. Read more in the [documentation](https://webpack.js.org/configuration/devtool/#root) - `watchOptions` prevents Webpack from recompiling everything too much (and lagging your replit). See the inline comments and [documentation](https://webpack.js.org/configuration/watch) for more info Now, let's create our `src/main.js` and `public/index.html` that we referenced in the Webpack config! ## Creating our entrypoints For the `index.html`, I've included all the standard HTML boilerplate with the addition of a `div` with an `id` of `app`. ```html <!-- public/index.html --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Simple Webpack Boilerplate</title> </head> <body> <div id="app"></div> </body> </html> ``` For the `main.js` I do some simple DOM manipulation and logging. This is where your application really starts. ```js // src/main.js console.log("Juliett Kilo Lima"); document.getElementById("app").innerHTML = "Mike November Oscar"; ``` ## Creating the Webpack Development Server Now, this won't do anything if we don't create the Webpack development server or use our Webpack configuration. So let's do that. First, we must create a configuration object for our `webpack-dev-server`. It's exactly the same as the `devServer` property on a typical `webpack.config.js`. I used the [documentation](https://webpack.js.org/configuration/dev-server) to make a simple configuration. ```js let webpackDevServerOptions = { publicPath: "/", contentBase: path.join(process.cwd(), "dist"), historyApiFallback: true, hot: true, host: "0.0.0.0", allowedHosts: [ ".repl.it", ".repl.co", ".repl.run" ] }; ``` Some things worth mentioning - [`historyApiFallback: true`](https://webpack.js.org/configuration/dev-server/#devserverhistoryapifallback) makes `webpack-dev-server` return your `index.html` where there would typically be a 404 error. (ex. if you try to access `/other/route`) It's very useful when creating a Single Page Application (SPA) - [`hot: true`](https://webpack.js.org/configuration/dev-server/#devserverhot) causes the website to automatically update right after you save your files - [`host: "0.0.0.0"`](https://webpack.js.org/configuration/dev-server/#devserverhost) makes the Webpack development server accessable locally, outside `localhost` - [`allowedHosts`](https://webpack.js.org/configuration/dev-server/#devserverallowedhosts) is a whitelist of sites that can access the dev server. A prepended `.` means all the subdomains of that particular domain are whitelisted Second, we're going to use our Webpack configuration to create the dev server. I couldn't find any solid documentation on this, but you can find more example code related to this [here](https://github.com/webpack/webpack-dev-server/tree/4a0486456753cbf57a251822d70454748ca7ffe3/examples/api/simple). ```js webpackDevServer.addDevServerEntrypoints(webpackConfig, webpackDevServerOptions); let webpackCompiler = webpack(webpackConfig); let app = new webpackDevServer(webpackCompiler, webpackDevServerOptions); ``` Then, make the server listen on a port ```js let port = process.env.PORT || 3000; app.listen(port, () => console.log(`App listening on ${port}`)); ``` So, our final `index.js` should look like the following ```js let path = require("path"); let webpack = require("webpack"); let webpackDevServer = require("webpack-dev-server"); let webpackConfig = require("./webpack.config"); let webpackDevServerOptions = { publicPath: "/", contentBase: path.join(process.cwd(), "dist"), historyApiFallback: true, hot: true, host: "0.0.0.0", allowedHosts: [ ".repl.it", ".repl.co", ".repl.run" ] }; webpackDevServer.addDevServerEntrypoints(webpackConfig, webpackDevServerOptions); let webpackCompiler = webpack(webpackConfig); let app = new webpackDevServer(webpackCompiler, webpackDevServerOptions); let port = process.env.PORT || 3000; app.listen(port, () => console.log(`App listening on ${port}`)); ``` And huzzah! After running, we get "Mike November Oscar" on the web page. ![finalResult](https://storage.googleapis.com/replit/images/1553221771034_0a8f8c2b9a9ebe2dcdc7f630ffdad63f.pn) This is where the tutorial ends but where your Webpack application starts! Now you can use whatever plugins and loaders you need to create your applications!
0
posted to Learn by eankeen (48) 12 hours ago
1
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
GG
1
posted to Share by li5859929 (0) 13 hours ago
4
Homework05(Title)
Homework05(Title)
2
posted to Share by Red_Bean_Ice (3) 13 hours ago
1
add XSLTProc package in Bash repl
(I'm not entirely confident that I'm requesting support in the correct place, but I don't see where else to submit this. So my apologies if I'm lost; if you know where I should go, would you mind pointing me in the right direction?) I'd like to do some XML processing in Repl.it using the Bash repl. I can see that the packages `libxml2` and `libxslt1.1` are installed, but `xmllint` and `xsltproc` are not installed. I'd love to install them, but `apt` requires administrator privileges and my repl says `sudo` cannot be found. Is there a way for me to request for packages to be added to a Bash repl?
4
posted to Ask by dnrtc (0) 14 hours ago
1
Can anyone help me in this assignment. I don't know exactly how to work in it.
random list of floats between 30 to 35 in range of (0,5) with random.seed of 70... I don't know if I should use only random.random, or it will include a list, float, average, and other functions. The result should be a set of random numbers between [30.0000, 31.0000, 32.0000, 33.000, 34.0000.... The number 0 decimal is just example of how it should be] thank you
1
posted to Ask by saidz (0) 14 hours ago
2
Natural Selection Simulator
This is a simulation with squares (the predator) and circles (the prey). The circles start with different colors, and if they don't blend in with the background, they are seen by the squares and eaten. The circles that blend in will reproduce more and in the end, all the circles will be the same color. This same thing happens to animals out in the real world. [Fullscreen](https://evolution--neodymium.repl.co/) reccomended.
0
posted to Share by neodymium (9) 14 hours ago
1
Flappy bird AI via genetic programming
# Learn to Play Flappy Bird using Cartesian Genetic Programming (Evolutionary Computation) and Compete with AI ![flappy_bird_demo](https://storage.googleapis.com/replit/images/1553219567700_73e3affa03f0d541f01b4504d53e31f7.gi) I designed a novel AI using an evolutionary algorithm called Cartesian Genetic Programming to learn to play the popular flappy bird. In most cases, it takes less than 50 generations to yield a good AI. If you feel boring to watch the birds learn, you can compete with the current AI anytime by adding a human player. For more instructions, please check README. The underlying theory is also explained in the associated [GitHub repository](https://github.com/ShuhuaGao/gpFlappyBird). ### Shortcut keys - CTRL+H: add a human player (a blue bird) at any time - SPACE or UP ARROW: flap the human player's bird - CTRL+P: pause/continue game - CTRL+K: switch ON/OFF sound effect (repl.it doesn't support sounds yet) If you want to accelerate the evolution process, you can speed up the game by - CTRL+1: speed x1 - CTRL+2: speed x2 - CTRL+3: speed x3 See if you can do better than an infant AI!
0
posted to Challenge by shuhua (0) 15 hours ago
1
Space Turtle!
Use the arrow keys to move the turtle. Try to touch the turtle to the balls!
0
posted to Challenge by alexpark747 (2) 15 hours ago
Load more