Software Alternatives, Accelerators & Startups

p5.js VS Screeps

Compare p5.js VS Screeps and see what are their differences

Note: These products don't have any matching categories. If you think this is a mistake, please edit the details of one of the products and suggest appropriate categories.

p5.js logo p5.js

JS library for creating graphic and interactive experiences

Screeps logo Screeps

Learn to code JavaScript by playing game.
  • p5.js Landing page
    Landing page //
    2023-07-22
  • Screeps Landing page
    Landing page //
    2023-04-17

p5.js features and specs

  • Ease of Use
    p5.js simplifies the process of learning and creating interactive graphics with its intuitive syntax, making it accessible for beginners.
  • Web-Based
    As a JavaScript library, p5.js runs directly in the web browser, enabling easy sharing and embedding of interactive sketches online without the need for additional plugins.
  • Creative Coding Community
    p5.js is supported by a vibrant community that shares a plethora of examples, tutorials, and resources, facilitating learning and troubleshooting.
  • Extensibility
    Its modular architecture allows for easy integration with other libraries like p5.sound, p5.dom, and even external JavaScript libraries, enhancing its functionality.
  • Accessibility
    p5.js emphasizes inclusivity, offering features that make it easier to create accessible web content, such as screen reader support.

Possible disadvantages of p5.js

  • Performance
    p5.js may not be as performant as other lower-level graphics libraries or frameworks, which can be a limitation for highly intensive graphical applications.
  • Learning Curve for Advanced Features
    While beginner-friendly, mastering complex features and fine-tuning performance in p5.js can require significant effort and understanding of JavaScript.
  • Not Ideal for Large Projects
    Due to its simplicity and focus on learning and prototyping, p5.js might not be suitable for large-scale, production-grade applications.
  • Limited 3D Support
    Although p5.js offers 3D rendering capabilities, these are less developed and performant compared to dedicated 3D libraries like Three.js.
  • Dependency on JavaScript
    Since p5.js is built on JavaScript, it inherits the language's limitations and quirks, which might be a hindrance for developers accustomed to other programming languages.

Screeps features and specs

  • Educational Value
    Screeps teaches real-world JavaScript programming concepts such as algorithms, optimization, and system design in a fun, gamified environment.
  • Real-time Strategy
    It combines elements of real-time strategy games with coding, offering a unique and challenging experience that keeps players engaged.
  • Persistent World
    The game world is persistent and runs 24/7, allowing your code to continue operating and evolving even when you're not logged in.
  • Community and Collaboration
    There is a strong community providing support, sharing code, and contributing to open-source projects related to the game.
  • Scalability
    The game can scale from small, personal projects to large, complex systems, providing ongoing challenges and opportunities for learning.

Possible disadvantages of Screeps

  • Steep Learning Curve
    Beginners might find the game difficult to grasp initially due to the complex mechanics and required programming knowledge.
  • Time-Consuming
    To effectively compete, players often need to invest significant time in optimizing and maintaining their code.
  • Subscription Costs
    While there is a free tier, many features and advanced gameplay elements are locked behind a subscription paywall.
  • Technical Requirements
    The game requires a good understanding of programming and problem-solving skills, which might be off-putting for casual gamers.
  • Server Issues
    There can be server stability and performance issues due to the constant demand and real-time nature of the game.

p5.js videos

Processing or p5.js? My opinions

More videos:

  • Review - Q&A #1: Side-Scroller in p5.js
  • Tutorial - 17.11: Sound Visualization: Frequency Analysis with FFT - p5.js Sound Tutorial

Screeps videos

Screeps Game REVIEW - Learn JavaScript by Playing - Educational MMO (Math/Programming)

More videos:

  • Review - What is Screeps? - by th_pion
  • Review - Game Developer's Toolbox: Learn programming with Screeps

Category Popularity

0-100% (relative to p5.js and Screeps)
Javascript UI Libraries
100 100%
0% 0
Online Learning
0 0%
100% 100
Charting Libraries
100 100%
0% 0
Online Education
0 0%
100% 100

User comments

Share your experience with using p5.js and Screeps. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare p5.js and Screeps

p5.js Reviews

20+ JavaScript libraries to draw your own diagrams (2022 edition)
A JS client-side library for creating graphics and interactive experiences, based on the core principles of Processing to make coding accessible to artists, designers and educators. Beyond drawing, this project provides offers web audio functionality, collision detection and even generation of graphical user interfaces from p5.js sketches.
8 Best Free and Open-Source Drawing Libraries in JavaScript
The p5.js library is a great option for people who are looking for a library that doesn't have a steep learning curve, but which can create very complicated systems if necessary. The get started with P5.js page on the official website has a functional example that draws circles wherever you move your mouse in only a few lines of code.

Screeps Reviews

15 Best LeetCode Alternatives 2023
You also get access to game API and docs of a full-fledged platform on Screeps. Because it uses games as its basis of operation, Screeps is more fun than LeetCode.

Social recommendations and mentions

Based on our record, p5.js should be more popular than Screeps. It has been mentiond 146 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

p5.js mentions (146)

  • Ask HN: Who Are Your Favorite Photography and Generative Coding Artists?
    p5.js is a JavaScript library that I've enjoyed messing with. It's related to Processing. https://p5js.org/. - Source: Hacker News / 3 months ago
  • Art Blocks and the Future of Open Source with Blockchain
    Art Blocks, founded by Erick Calderon in 2020, is a platform that enables artists to create generative art using blockchain technology. It operates on the Ethereum blockchain, leveraging smart contracts to mint unique art pieces as NFTs. The process begins with artists submitting scripts that define the artwork's parameters. Once approved, these scripts generate unique pieces upon purchase, offering collectors a... - Source: dev.to / 3 months ago
  • Rant: state of generative AI in code generation.
    In my experience with AI code generation, in visual projects like UI development or JavaScript based animation (using three.js or p5.js) etc. AI tools work pretty well. - Source: dev.to / 3 months ago
  • Procedural Generation and Noise
    For this most recent assignment we were tasked with contributing a larger feature to an open source project. During my time with the previous assignment I worked on a game engine called Litecanvas, inspired engine by libraries like raylib and p5.js/Processing. - Source: dev.to / 6 months ago
  • Antirez/load81: SDL based Lua programming environment for kids similar to Codea
    Let’s not forget P5js which has a long and esteemed history of helping to teach kids and more to program. It’s browser based so it’s compatible with every OS and requires no install. FOSS with an active community of users and contributors. I personally taught some middle schoolers with zero programming experience how to make interactive monsters in 1 hour. It was awesome! https://p5js.org/. - Source: Hacker News / 7 months ago
View more

Screeps mentions (43)

  • Show HN: A Competition Game to write bots for the most efficient algo
    Reminds me (in spirit) of screeps https://screeps.com/ - any inspiration? - Source: Hacker News / 3 months ago
  • AI Wars – control your 2d space shooter with AI
    I love the idea of having an AI prompt to write code for the bots. There are already games like https://screeps.com/ or https://store.steampowered.com/app/2060160/The_Farmer_Was_Replaced/ where you program your bot to do things, but they do require some minimal coding experience. Being able to describe behavior in plain english would be pretty cool. However, I think having real-time feedback is a huge part of... - Source: Hacker News / 7 months ago
  • Show HN: Engineering Games (List)
    I've heard about Screeps which is close to what you describe: https://screeps.com/. - Source: Hacker News / over 1 year ago
  • Games like Stone Story RPG
    I have tried Screeps in the past, and I'm not a huge fan. I really like Stone Story, but they do not have an easy way to take your saves across multiple platforms -- you have to manually import/export your save. Source: over 1 year ago
  • Helping a young coder
    -For JavaScript, my advice would be to introduce coding games. That way it's more fun and the environment would be set up better (less worrying about deep technical errors). The two games that come to mind are Bitburner (free) and Screeps (free offline/paid online), though they both have their own learning curves and require actual coding; so for a 9 year old YMMV greatly. Source: almost 2 years ago
View more

What are some alternatives?

When comparing p5.js and Screeps, you can also consider the following products

Pixi.js - Fast lightweight 2D library that works across all devices

CodeCombat - Learn programming with a multiplayer live coding strategy game.

Processing - C++ and Java programming at the speed of thought.

Robocode - Robocode is a programming game where the goal is to code a robot battle tank to compete against...

Three.js - A JavaScript 3D library which makes WebGL simpler.

CheckIO - CheckIO is a web site with a mission: To teach JavaScript and Python coding skills through a game-playing interface. It is designed to teach new skills or improve existing skills through completing challenges.