<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Naman Chhabra</title>
    <description>The latest articles on DEV Community by Naman Chhabra (@namanchhabra21).</description>
    <link>https://dev.to/namanchhabra21</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3967223%2F8f1992ad-43ba-4495-a3f7-eb77ceba25a3.jpeg</url>
      <title>DEV Community: Naman Chhabra</title>
      <link>https://dev.to/namanchhabra21</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/namanchhabra21"/>
    <language>en</language>
    <item>
      <title>NOT-VIRUES | ENTERTAINMENT PURPOSE ONLY</title>
      <dc:creator>Naman Chhabra</dc:creator>
      <pubDate>Fri, 19 Jun 2026 04:53:11 +0000</pubDate>
      <link>https://dev.to/namanchhabra21/not-virues-entertainment-purpose-only-44oj</link>
      <guid>https://dev.to/namanchhabra21/not-virues-entertainment-purpose-only-44oj</guid>
      <description>&lt;p&gt;I Built a Fake Virus Simulator in Python (That Doesn't Harm Your Computer)&lt;/p&gt;

&lt;p&gt;If you are not interested in reading whole Journey, you can directly click on this link &lt;br&gt;
&lt;a href="https://namanchhabra21.itch.io/not-virues" rel="noopener noreferrer"&gt;https://namanchhabra21.itch.io/not-virues&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Have you ever watched those movie scenes where a hacker types furiously and suddenly the screen fills with warnings, skulls, progress bars, and scary messages?&lt;/p&gt;

&lt;p&gt;I decided to recreate that experience in Python.&lt;/p&gt;

&lt;p&gt;Introducing Not-Virues — a harmless fake-virus simulator designed for fun and educational purposes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is Not-Virues?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Not-Virues is a Python application that mimics the appearance of a computer virus without performing any malicious actions.&lt;/p&gt;

&lt;p&gt;It creates a dramatic experience using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Full-screen visual effects&lt;/li&gt;
&lt;li&gt;Fake hacking sequences&lt;/li&gt;
&lt;li&gt;Scary warning messages&lt;/li&gt;
&lt;li&gt;System information displays&lt;/li&gt;
&lt;li&gt;Camera-based visual effects&lt;/li&gt;
&lt;li&gt;Fake virus alerts&lt;/li&gt;
&lt;li&gt;Cinematic startup animations&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Despite its appearance, the application:&lt;/p&gt;

&lt;p&gt;✅ Does not delete files&lt;/p&gt;

&lt;p&gt;✅ Does not steal passwords&lt;/p&gt;

&lt;p&gt;✅ Does not install malware&lt;/p&gt;

&lt;p&gt;✅ Does not access private documents&lt;/p&gt;

&lt;p&gt;✅ Does not perform any malicious actions&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Did I Build It?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I wanted to experiment with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python GUI development&lt;/li&gt;
&lt;li&gt;Pygame animations&lt;/li&gt;
&lt;li&gt;CustomTkinter&lt;/li&gt;
&lt;li&gt;System information APIs&lt;/li&gt;
&lt;li&gt;Visual effects&lt;/li&gt;
&lt;li&gt;User interaction&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At the same time, I wanted to create something entertaining that looked like a real virus without actually being one.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Features&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Fake Virus Startup&lt;/p&gt;

&lt;p&gt;The application starts with a series of dramatic messages:&lt;/p&gt;

&lt;p&gt;INITIALIZING VIRUS...&lt;br&gt;
PLEASE WAIT...&lt;br&gt;
HACKING...&lt;br&gt;
ACCESS DENIED&lt;br&gt;
LOADING... &lt;br&gt;
OPENING CAMERA... &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;System Information Detection&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The simulator may display information such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Operating System&lt;/li&gt;
&lt;li&gt;Architecture&lt;/li&gt;
&lt;li&gt;Device Information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is used only for visual effects.&lt;/p&gt;

&lt;p&gt;Fake Security Warnings&lt;/p&gt;

&lt;p&gt;Various warning screens and popups appear during the simulation to create a realistic experience.&lt;/p&gt;

&lt;p&gt;Safe by Design&lt;/p&gt;

&lt;p&gt;One of the main goals of the project was ensuring that nothing harmful happens to the user's computer.&lt;/p&gt;

&lt;p&gt;The project is intended to be scary-looking, not dangerous.&lt;/p&gt;

&lt;p&gt;Technologies Used&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;Pygame&lt;/li&gt;
&lt;li&gt;CustomTkinter&lt;/li&gt;
&lt;li&gt;Requests&lt;/li&gt;
&lt;li&gt;Firebase&lt;/li&gt;
&lt;li&gt;PyInstaller&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Packaging the Project&lt;/strong&gt;&lt;br&gt;
To distribute the application, I used PyInstaller:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;pyinstaller --noconsole --icon=assets/icon.ico main.py&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This creates a standalone executable that users can run without installing Python.&lt;/p&gt;

&lt;p&gt;What I Learned&lt;/p&gt;

&lt;p&gt;Building this project taught me a lot about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GUI programming&lt;/li&gt;
&lt;li&gt;Event handling&lt;/li&gt;
&lt;li&gt;User experience design&lt;/li&gt;
&lt;li&gt;Packaging Python applications&lt;/li&gt;
&lt;li&gt;Creating cinematic visual effects&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It was also a reminder that software can look intimidating while remaining completely harmless.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This project is intended for educational and entertainment purposes only.&lt;/p&gt;

&lt;p&gt;It is not malware, ransomware, spyware, or a real virus.&lt;/p&gt;

&lt;p&gt;Please do not modify the project for malicious purposes.&lt;/p&gt;

&lt;p&gt;GitHub Repository&lt;br&gt;
&lt;a href="https://github.com/NamanChhabra21/Not-Virues" rel="noopener noreferrer"&gt;https://github.com/NamanChhabra21/Not-Virues&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feel free to check out the project, explore the code, and suggest improvements.&lt;/p&gt;

&lt;p&gt;Thanks for reading! 🚀&lt;/p&gt;

&lt;p&gt;Share it with your friends , recommend changing file name to make it a scary and unexpected prank. &lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>showdev</category>
      <category>coding</category>
    </item>
    <item>
      <title>Loading... A framework for Splash Screens</title>
      <dc:creator>Naman Chhabra</dc:creator>
      <pubDate>Fri, 05 Jun 2026 14:57:33 +0000</pubDate>
      <link>https://dev.to/namanchhabra21/loading-a-framework-for-splash-screens-2oh7</link>
      <guid>https://dev.to/namanchhabra21/loading-a-framework-for-splash-screens-2oh7</guid>
      <description>&lt;h2&gt;
  
  
  Yo! CoderZ 🤟
&lt;/h2&gt;

&lt;p&gt;Have you ever noticed loading screen while opening up an Application? &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftpa79ofnaoq77y334k8k.png" alt="example" width="800" height="500"&gt;
&lt;/h2&gt;

&lt;p&gt;Have you ever wanted to create one for your own app? If &lt;code&gt;yes&lt;/code&gt; you are reading the correct post.&lt;/p&gt;

&lt;p&gt;Now you have two options:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Read the full Post&lt;/li&gt;
&lt;li&gt;Directly Jump to the &lt;a href="https://github.com/NamanChhabra21/splashscreen-engine/blob/main/README.md" rel="noopener noreferrer"&gt;Documentation&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Splashscreen-engine
&lt;/h2&gt;

&lt;p&gt;I Built a Splash Screen Framework Using Pygame + OpenCV&lt;/p&gt;

&lt;p&gt;After weeks of development, debugging, designing, and optimizing, I finally released this Python framework. &lt;/p&gt;

&lt;h3&gt;
  
  
  What is Splashscreen-engine?
&lt;/h3&gt;

&lt;p&gt;A Python framework for creating modern splash screens with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Video background&lt;/li&gt;
&lt;li&gt;Image background&lt;/li&gt;
&lt;li&gt;Loading bars (supports video)&lt;/li&gt;
&lt;li&gt;Text Elements&lt;/li&gt;
&lt;li&gt;Transparency effects&lt;/li&gt;
&lt;li&gt;Dynamic UI elements&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F78xybh2lh4xy725rhig7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F78xybh2lh4xy725rhig7.png" alt="Template 1" width="600" height="397"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Why I Built It
&lt;/h3&gt;

&lt;p&gt;Most of the Python splash screen libraries felt:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;outdated&lt;/li&gt;
&lt;li&gt;too limited&lt;/li&gt;
&lt;li&gt;hard to customize&lt;/li&gt;
&lt;li&gt;static&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So I decided to create something useful, more flexible and modern using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"pygame"&lt;/li&gt;
&lt;li&gt;"opencv-python"&lt;/li&gt;
&lt;li&gt;"numpy"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My aim was simple:&lt;/p&gt;

&lt;p&gt;« Create cinematic splash screens for Applications with programmer defined customization and easy to understandable API »&lt;/p&gt;




&lt;h3&gt;
  
  
  Analytics System
&lt;/h3&gt;

&lt;p&gt;I also built a lightweight analytics system for improving the Framework.&lt;/p&gt;

&lt;p&gt;However, my Framework isn't popular yet and barely got some downloads 😩&lt;/p&gt;

&lt;p&gt;The framework stores local data and sends it to Firebase. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This does not collect any personal data. &lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  Documentation
&lt;/h3&gt;

&lt;p&gt;You can find proper documentation and installation guide here:&lt;br&gt;
&lt;a href="https://github.com/NamanChhabra21/splashscreen-engine/blob/main/README.md" rel="noopener noreferrer"&gt;https://github.com/NamanChhabra21/splashscreen-engine/blob/main/README.md&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Quick Install
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;PyPI&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You can install it directly:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;pip install splashscreen-engine&lt;/code&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Source Code:&lt;br&gt;
&lt;a href="https://github.com/NamanChhabra21/splashscreen-engine" rel="noopener noreferrer"&gt;https://github.com/NamanChhabra21/splashscreen-engine&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Final Thoughts
&lt;/h3&gt;

&lt;p&gt;This project taught me a lot about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Frameworks&lt;/li&gt;
&lt;li&gt;Architecture&lt;/li&gt;
&lt;li&gt;Rendering systems&lt;/li&gt;
&lt;li&gt;Threading&lt;/li&gt;
&lt;li&gt;Multimedia&lt;/li&gt;
&lt;li&gt;API integration&lt;/li&gt;
&lt;li&gt;Package publishing on PyPi&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Still improving it! Just need your support. &lt;/p&gt;

&lt;p&gt;Feedback and contributions are welcome.&lt;/p&gt;

&lt;p&gt;Follow me on GitHub : &lt;a href="https://github.com/NamanChhabra21" rel="noopener noreferrer"&gt;https://github.com/NamanChhabra21&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>api</category>
      <category>github</category>
    </item>
    <item>
      <title>A basic pygame game which is not basic - Starfall Protocol</title>
      <dc:creator>Naman Chhabra</dc:creator>
      <pubDate>Thu, 04 Jun 2026 00:19:41 +0000</pubDate>
      <link>https://dev.to/namanchhabra21/a-basic-pygame-game-which-is-not-basic-starfall-protocol-51je</link>
      <guid>https://dev.to/namanchhabra21/a-basic-pygame-game-which-is-not-basic-starfall-protocol-51je</guid>
      <description>&lt;h2&gt;
  
  
  This is a simple pygame game built by an intermediate level 16yrs old coder
&lt;/h2&gt;




&lt;h4&gt;
  
  
  Here is the download link without so much boring talks:
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://gamejolt.com/games/starfall-protocol/1074404" rel="noopener noreferrer"&gt;https://gamejolt.com/games/starfall-protocol/1074404&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Please note that Windows is currently supported and I have never tested my game on other platforms like MacOs/Linux&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fi34t5a3d5xh0boxi6sp8.png" alt="Starting Screen" width="702" height="591"&gt;
&lt;/h2&gt;

&lt;h2&gt;
  
  
  How I Made this?
&lt;/h2&gt;

&lt;p&gt;Like many beginners learning Pygame, I started with a simple idea:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Move a green colored square and avoid red colored squares as obstacles.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;At first, the game was extremely basic:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Black Color Background&lt;/li&gt;
&lt;li&gt;Simple Obstacle movement&lt;/li&gt;
&lt;li&gt;Basic collision system&lt;/li&gt;
&lt;li&gt;Plain gameplay loop&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But over time, I kept adding more features into the project.&lt;/p&gt;

&lt;p&gt;Eventually, the project evolved into &lt;strong&gt;Starfall Protocol&lt;/strong&gt; — a cinematic 2D space game built using &lt;strong&gt;Python&lt;/strong&gt; and &lt;strong&gt;Pygame&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  What Makes It Different from other 2d games?
&lt;/h2&gt;

&lt;p&gt;Instead of keeping the project as a simple beginner game, I tried adding strange features usually not seen in beginner Python projects.&lt;/p&gt;

&lt;h3&gt;
  
  
  Video Scenes
&lt;/h3&gt;

&lt;p&gt;The game now contains:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Intro Scene (Rocket Boosts) &lt;/li&gt;
&lt;li&gt;Ending scene (Rocket Crash) &lt;/li&gt;
&lt;li&gt;Press &lt;code&gt;Space&lt;/code&gt; to skip&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Background
&lt;/h3&gt;

&lt;p&gt;I added:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Infinite scrolling backgrounds&lt;/li&gt;
&lt;li&gt;Dynamic resizing support&lt;/li&gt;
&lt;li&gt;Full screen support&lt;/li&gt;
&lt;li&gt;Randomized background images&lt;/li&gt;
&lt;li&gt;Changes after every few minutes&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Gameplay Improvements
&lt;/h3&gt;

&lt;p&gt;The gameplay includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Asteroid spawning&lt;/li&gt;
&lt;li&gt;Comets (High speed) &lt;/li&gt;
&lt;li&gt;Difficulty progression&lt;/li&gt;
&lt;li&gt;Life system&lt;/li&gt;
&lt;li&gt;Score system&lt;/li&gt;
&lt;li&gt;Detects Collision at pixel level&lt;/li&gt;
&lt;li&gt;Sound effects and music&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Additional Systems
&lt;/h3&gt;

&lt;p&gt;I also experimented with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Firebase integration&lt;/li&gt;
&lt;li&gt;Customtkinter Screen for Rate us and Feedback support&lt;/li&gt;
&lt;li&gt;Splash screen module&lt;/li&gt;
&lt;li&gt;Window resizing logic&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Challenges I faced
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Full screen resizing&lt;/li&gt;
&lt;li&gt;scrolling backgrounds&lt;/li&gt;
&lt;li&gt;First time using Firebase&lt;/li&gt;
&lt;li&gt;OpenCv to Pygame surface conversion&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Module Used
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;OpenCv-python&lt;/li&gt;
&lt;li&gt;Pygame&lt;/li&gt;
&lt;li&gt;CustomTkinter&lt;/li&gt;
&lt;li&gt;Requests&lt;/li&gt;
&lt;li&gt;Splashscreen-engine&lt;/li&gt;
&lt;li&gt;Some built-in modules&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;I think its enough description, I am tired now 😅&lt;/p&gt;




&lt;h2&gt;
  
  
  Download &amp;amp; Play the Game
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Game Jolt
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://gamejolt.com/games/starfall-protocol/1074404" rel="noopener noreferrer"&gt;https://gamejolt.com/games/starfall-protocol/1074404&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  itch.io
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://namanchhabra21.itch.io/starfall-protocol" rel="noopener noreferrer"&gt;https://namanchhabra21.itch.io/starfall-protocol&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  GitHub Repository
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/NamanChhabra21/Starfall-Protocol" rel="noopener noreferrer"&gt;https://github.com/NamanChhabra21/Starfall-Protocol&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Just like the universe… this journey never ends.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>python</category>
      <category>beginners</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
