<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Justin Benito on Medium]]></title>
        <description><![CDATA[Stories by Justin Benito on Medium]]></description>
        <link>https://medium.com/@justinbenito?source=rss-8090667b17c1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*THmUeMQ5eIu3tsL5Xmg0oQ.png</url>
            <title>Stories by Justin Benito on Medium</title>
            <link>https://medium.com/@justinbenito?source=rss-8090667b17c1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 11:46:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@justinbenito/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Linkedin: the social media, your career needs]]></title>
            <link>https://medium.com/welcome-to-engineering/linkedin-the-social-media-your-career-needs-33bf2ac2b32d?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/33bf2ac2b32d</guid>
            <category><![CDATA[college]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[guidance]]></category>
            <category><![CDATA[linkedin]]></category>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Thu, 02 Jan 2025 13:49:01 GMT</pubDate>
            <atom:updated>2025-01-02T13:49:01.226Z</atom:updated>
            <content:encoded><![CDATA[<h3>What if scrolling could get you hired, and not distracted?</h3><p>Welcome to Engineering.<br>Now that you entered college, <br>it is time to plan for your career.</p><p>Instagram and Twitter are something you need to have a good social life. LinkedIn is something you need not for you but to have a good career.</p><p>Being visible to the people who want to hire you is step 1 in getting hired. You certainly don’t wish to settle for a mid job, do you?</p><h3>What is LinkedIn, and Why Should You Care?</h3><p>LinkedIn is just like Instagram and Twitter, <br>except that it is a tad bit more serious. <br>It’s a social platform where connecting with strangers is <br>encouraged and not frowned upon. <br>It’s a platform where you learn a lot from others’ achievements <br>and don’t envy them ( looking at you instagram )<br>It’s a platform where you can tell about yourself <br>more than a single-page PDF.</p><h3>Personal Perspective</h3><p>I have personally benefited greatly from LinkedIn. <br>I post my achievements and keep my profile updated. <br>This helped me get job opportunities, internships, mentorships, speaker opportunities, and much, much more.</p><p>Personally, I have benefited from LinkedIn <br>more than the platform has benefited from me.</p><p>That’s why I want you to do this as the first thing after joining college.</p><h3>Pop Some Myth Bubbles</h3><blockquote><em>“LinkedIn is only for job seekers.”</em></blockquote><p>I cannot state how flawed this thought is. <br><strong>LinkedIn is more than finding a job.</strong> <br>It is a place where you get industry updates, <br>a place to network with amazing people <br>who are ready to help at all times.</p><p>It is also a place for you to build a brand for yourself (more about this later).</p><blockquote><em>“It’s boring.”</em></blockquote><p>Although this is entirely subjective and <br>you might find the platform boring at times.<br>LinkedIn, as a business platform, is slowly moving <br>towards a social platform.</p><p>Did you know we have something similar to reels and TikTok on LinkedIn?</p><p>That’s how desperately LinkedIn is pushing content. <br>LinkedIn is filled with memes, fun quotes, witty posts, and more. <br>It is how you take it in and act on it.</p><blockquote><em>“I don’t have enough experience to be on LinkedIn.”</em></blockquote><p>I started my LinkedIn right after my 12th board exams with 0 XP<br>My entire experience is because of LinkedIn. <br>I started something small, posted it on LinkedIn. <br>That led me to job opportunities, <br>which gave me a lot more opportunities, just like dominoes <br>So my entire experience is because of posting on LinkedIn.</p><h3>I’m an Introvert, I Have Nothing to Share</h3><p>If you are too shy to post about yourself and your successes, <br>who will tell those stories?</p><p>You are going to lose out on opportunities <br>just because you think you are not social?</p><p>Being social is not a character, merely a skill! <br>People work with people they trust.</p><p>Have 1,000 skills, but not even 10 people know you?<br>You can’t be entrusted with any work easily.</p><p>Know 10 skills, but 1,000 people know you?<br>You have a higher chance of getting bigger opportunities.</p><p>‘Fortune favors the bold’ is old.<br>‘Fortune favors the seen’ is the new one that you should start practicing.</p><h3>Practical Tips to Get Started</h3><p>Let’s make sure you have everything in check.</p><p>✅ A clear, good-looking profile photo goes a long way. <br>✅ A custom banner would uplift your profile. <br>✅ Your headline is who you are; make sure it’s interesting and unique. <br>✅ Sit and write, I repeat, write about yourself; please don’t use GPT : ( <br>✅ Fill up the certifications; it’s important to build trust. <br>✅ Add all your skills; take some time to add them all. <br>✅ If you have any publications, volunteering experience, or honors, <br>make sure to add them for a nice touch to your profile.</p><p>Now that you’re done, start posting!<br>I know it’s easier said than done, <br>but pull yourself to write that first post. 💪</p><h3>Tune That Algorithm</h3><p>40% of LinkedIn is ads, <br>but 60% of it is in your control. 💪</p><p>Here’s how you tune it!</p><p>1️⃣ Connecting with someone new? <br>You will see their post for at least 2 weeks. <br>Interaction with it increases its prevalence and vice versa.</p><p>2️⃣ 1 comment leads to seeing their next post, reposting it 1.5 times, <br>and liking it 3 times has a similar effect.</p><p>3️⃣ Spending more time on one post will make LinkedIn show similar posts.</p><p>4️⃣ Messaging people makes you see their posts 70% of the time.</p><p>5️⃣ Saving a post makes LinkedIn show you the next post 90% of the time.</p><h3>Social Media Is Not Evil, If You Know How to Use It</h3><p>Now that you have a good understanding of what LinkedIn is, <br>why it is used, why you should use it, and how to use it.<br>Start that LinkedIn acc if you still haven’t and start posting about your college and your experience in the first few days.</p><p>Here I have given you the idea for your first post. <br>Make sure you act on it : )</p><p>GG</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_kLKkm2EO1Z4qexdLK0bTQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33bf2ac2b32d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/welcome-to-engineering/linkedin-the-social-media-your-career-needs-33bf2ac2b32d">Linkedin: the social media, your career needs</a> was originally published in <a href="https://medium.com/welcome-to-engineering">Welcome to Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[2024 and me]]></title>
            <link>https://medium.com/@justinbenito/2024-and-me-2a525851668c?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a525851668c</guid>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Wed, 01 Jan 2025 18:29:52 GMT</pubDate>
            <atom:updated>2025-01-01T18:29:52.010Z</atom:updated>
            <content:encoded><![CDATA[<p>Last year when I posted 2023 and me, <br>I thought to myself.<br>“2023 was a blast, will 2024 be atleast 10% of 2023 🤔”</p><p>I guess 2024 heard this and<br>was like “irunga bhai” 😂</p><p>So here’s a highlight rundown of my 2024</p><p>January: Published my 1st research paper 😄</p><p>February: Selected as 1 out of 45 from 7500+ applicants for <br>Yuva Sangam’24 🤯</p><p>March: Started NammaFlutter and hosted our first online session 🩵</p><p>April: Hosted our first offline session for NammaFlutter 🎉</p><p>May: Was invited to Loyola College (LICET) to give a workshop ❤️</p><p>June: Speaker at both React and Flutter Meetup 🫨</p><p>July: Applied, Got Interviewed and Got selected to host FOSSHack’24. <br>Hosted 3 events at 3 places all at once 😵</p><p>August: Started FlutterFlow Developers Group Chennai 💜</p><p>September: Flew to Singapore to attend my 1st International Hackathon. <br>Lost but Learnt a lot 🫡</p><p>October: From a lonely Devfest’23 participant to a community partner for Devfest’24, It was fun with the community 🤩</p><p>November: Travelled with Flutter Chennai Community members to Bangalore for Devfest BLR 🫂</p><p>December: Flew to Mumbai to give a talk at Flutter Roadshow in between 2 semester exams 🤪</p><p>Btw, these are just the Highs.<br>there were many lows that followed these <br>which only I know of.</p><p>Life is a mix of them, <br>that’s why we call it a rollercoaster.<br>you love the high and pray for the low to end soon 😂</p><p>This was my 2024, how was yours ?<br>Do let me know 👇</p><p>and hey<br>Happy 2025 🫂<br>Cheers 🤝</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a525851668c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter Infinite Runner Dino Game]]></title>
            <link>https://medium.com/nammaflutter/flutter-infinite-runner-dino-game-f215786412f6?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f215786412f6</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[dev]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Tue, 10 Dec 2024 18:29:39 GMT</pubDate>
            <atom:updated>2024-12-10T18:29:39.150Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Note: This is part of the workshop I hosted at Flutter Roadshow 2024 Mumbai.</blockquote><p>The intention of the game is to build an endless runner similar to the dino game in chrome. We wont be using the popular flame engine and this is just an implementation using Flutter.</p><p>So, we start with an empty stateful widget because we know we need to update the screen continuously with some state getting changed frequently.</p><pre>import &#39;package:flutter/material.dart&#39;;<br><br>class GameScreen extends StatefulWidget {<br>  const GameScreen({super.key});<br>  @override<br>  State&lt;GameScreen&gt; createState() =&gt; _GameScreenState();<br>}<br>class _GameScreenState extends State&lt;GameScreen&gt; {<br>  @override<br>  Widget build(BuildContext context) {<br>    return const Placeholder();<br>  }<br>}</pre><p>To start with we define a gameHasStarted and gameOver variable to know if the game has started or not and render appropriate screens and buttons.</p><pre>bool gameHasStarted = false;<br>bool gameOver = false;</pre><p>Now we can render a button that says “start game” with an empty placeholder function for now, and lets call it startGame</p><pre>return Scaffold(<br>  body: GestureDetector(<br>    child: Stack(<br>      children: [<br><br>// if the game is over, we ask the user to start again<br><br>        if (gameOver)<br>          Center(<br>            child: Column(<br>              mainAxisAlignment: MainAxisAlignment.center,<br>              children: [<br>                const Text(<br>                  &#39;Game Over!&#39;,<br>                  style: TextStyle(<br>                    fontSize: 40,<br>                    fontWeight: FontWeight.bold,<br>                  ),<br>                ),<br>                const SizedBox(height: 20),<br>                ElevatedButton(<br>                  onPressed: startGame,<br>                  child: const Text(&#39;Play Again&#39;),<br>                ),<br>              ],<br>            ),<br>          ),<br><br><br>// and even if the game has not yet started, we ask the user to start again<br><br><br>        if (!gameHasStarted)<br>          Center(<br>            child: ElevatedButton(<br>              onPressed: startGame,<br>              child: const Text(&#39;Start Game&#39;),<br>            ),<br>          ),<br>      ],<br>    ),<br>  ),<br>);</pre><p>Now let’s define the startGame function.</p><pre>void startGame() {<br>  setState(() {<br>    gameHasStarted = true;<br>    gameOver = false;<br>  });<br>}</pre><p>Our game needs to update in milliseconds and should loop continuously, <br>so over on Flutter we would use a timer and pass on a duration which the timer widget will use to count down to. Since we want this to happen continuously we are going to use a periodic timer to update the state and render it. It is also good practice to stop the timer to prevent memory leaks.</p><pre>Timer? gameLoopTimer;<br>.<br>.<br>.<br>.<br>.<br>.<br>gameLoopTimer = Timer.periodic(const Duration(milliseconds: 5), (timer) {<br>  <br>});<br>.<br>.<br>.<br>.<br>.<br>.<br>@Override<br>void dispose() {<br>  gameLoopTimer?.cancel();<br>  super.dispose();<br>}</pre><p>Also, import the dart:async library for the Timer to work.</p><p>Now we would want to update our game every 5 milliseconds, so we will have to call a function that will take care of updating the physics of the game continously and lets name it updatePhysics() which will run continuously during the timer.</p><pre>gameLoopTimer = Timer.periodic(const Duration(milliseconds: 5), (timer) {<br>  updatePhysics();<br>});</pre><p>We will define the updatePhysics function shortly.</p><p>But before that, it’s important to add some characters to the view so that we know what to update continuously in our game.</p><p>Since its Flutter we are not interested in Dino but our own Dash along with the background, the obstacle, and the high score content of the screen, we can add them to the screen UI using a stack widget since we would need to position them in the screen. We are positioning it absolutely but we will make it to be responsive by accessing the values of the screen’s height and width.</p><pre>Stack(<br>          fit: StackFit.expand,<br>          children: [<br>            // Background<br>            Positioned(<br>              child: Container(<br>                color: const Color.fromARGB(255, 255, 206, 206),<br>                child: Image.asset(<br>                  &quot;optimbg.gif&quot;,<br>                  fit: BoxFit.fitHeight,<br>                  repeat: ImageRepeat.repeatX,<br>                ),<br>              ),<br>            ),<br>// Score Display<br>            Positioned(<br>              top: 30, // Moved 30 units higher<br>              left: 0,<br>              right: 0,<br>              child: Center(<br>                child: Text(<br>                  &#39;Score: $score | High Score: $highScore&#39;,<br>                  style: const TextStyle(<br>                    fontSize: 20,<br>                    fontWeight: FontWeight.bold,<br>                  ),<br>                ),<br>              ),<br>            ),<br><br>            // Dino<br>            Positioned(<br>              bottom: dinoBottomPosition +<br>                  (screenHeight * 0.3), // Moved 20 units higher<br>              left: dinoleftPosition,<br>              child: Container(<br>                width: dinoSize,<br>                height: dinoSize,<br>                child: Image.asset(<br>                  &#39;thefin.gif&#39;,<br>                  fit: BoxFit.contain,<br>                ),<br>              ),<br>            ),<br>            // Obstacle<br>            Positioned(<br>              bottom: (screenHeight * 0.3), // Moved 20 units higher<br>              left: obstacleXPosition,<br>              child: Container(<br>                height: heightOfObstacle,<br>                width: widthOfObstacle,<br>                decoration: BoxDecoration(<br>                  border: Border.all(<br>                    color: Colors.black,<br>                    width: 2.0,<br>                  ),<br>                ),<br>                child: Image.asset(<br>                  &#39;obstacle.png&#39;,<br>                  fit: BoxFit.contain,<br>                ),<br>              ),<br>            ),<br>            // Game Over Overlay<br>            if (gameOver)<br>              Center(<br>                child: Column(<br>                  mainAxisAlignment: MainAxisAlignment.center,<br>                  children: [<br>                    const Text(<br>                      &#39;Game Over!&#39;,<br>                      style: TextStyle(<br>                        fontSize: 40,<br>                        fontWeight: FontWeight.bold,<br>                      ),<br>                    ),<br>                    const SizedBox(height: 20),<br>                    ElevatedButton(<br>                      onPressed: startGame,<br>                      child: const Text(&#39;Play Again&#39;),<br>                    ),<br>                  ],<br>                ),<br>              ),<br>            // Start Game Overlay<br>            if (!gameHasStarted)<br>              Column(<br>                children: [<br>                  Image.asset(<br>                    &quot;dashrun.png&quot;,<br>                    fit: BoxFit.fitHeight,<br>                  ),<br>                  Center(<br>                    child: ElevatedButton(<br>                      onPressed: startGame,<br>                      child: const Text(&#39;Start Game&#39;),<br>                    ),<br>                  ),<br>                ],<br>              ),<br>          ],<br>        ),</pre><p>The assets that are used here are available in the github repo:<br><a href="https://github.com/JustinBenito/FlutterRoadshowMumbai/edit/main/README.md">https://github.com/JustinBenito/FlutterRoadshowMumbai</a></p><p>You would need to update the pubspec.yaml file after importing the assets.</p><p>In order for the above UI to make sense, we need to define a few variables to position it in the stack view.</p><p>We would need:</p><ul><li>score variable</li><li>high score variable</li><li>width and height of the obstacle</li><li>size of Dash</li><li>X and Y position of both Dash and the obstacle</li><li>how high Dash can jump → jump velocity</li><li>how fast Dash should come down → gravity</li><li>finally, a variable to store the current velocity</li></ul><blockquote>💙 <strong>To make the positioning responsive, all positioning is calculated in multiples of the screen height and screen width.</strong></blockquote><p>So, let’s define them</p><pre>  bool isInJumpState = false;<br>  int score = 0;<br>  int highScore = 0;<br>  // Movement and physics constants<br>  final double gravity = 15.0;<br>  final double jumpVelocity = 10.0;<br>  double velocityY = 0.0;<br>  // Positioning variables<br>  late double screenWidth;<br>  late double screenHeight;<br>  late double dinoSize;<br>  late double widthOfObstacle;<br>  late double heightOfObstacle;<br>  double dinoBottomPosition = 0;<br>  double dinoleftPosition = 0;<br>  double obstacleXPosition = 0;<br>  double obstacleYPosition = 0;</pre><p>Now, since we are defining the screenHeight and screenWidth, we need to get the values from MediaQuery. To get these global values and to update the entire app in case the width and height change, we will need to get these values when the app loads.</p><p>But if we use initState, we would not be able to get the context of the app, which is a requirement for MediaQuery, so we go with didChangeDependencies()</p><p>Therefore, add this snippet of code to get the screenWidth and screenHeight and set responsive values for our characters in the game.</p><pre>@override<br>  void didChangeDependencies() {<br>    super.didChangeDependencies();<br>    screenWidth = MediaQuery.of(context).size.width;<br>    screenHeight = MediaQuery.of(context).size.height;<br><br>    // Set responsive sizing<br>    dinoleftPosition = screenWidth * 0.1;<br>    dinoSize = screenHeight * 0.20;<br>    heightOfObstacle = screenHeight * 0.15;<br>    widthOfObstacle = screenHeight * 0.06;<br>  }</pre><blockquote><em>If you have made it this far, kudos to you. You are doing great ! </em>🎉</blockquote><p>We have done much of the initializing and defining part.</p><p>It is time to write the juicy parts: the logic.</p><p>The logical parts in our code that we need to solve are:</p><p>1️⃣ Letting the game run:</p><ul><li>Updating the physics of the app continuously</li><li>Jump on tap</li></ul><p>2️⃣ Not letting the game run (end game):</p><ul><li>Detect if there is a collision between Dash and the obstacle.</li></ul><p>Let’s define all these placeholders functions for now.</p><pre>void updatePhysics() {<br>}<br><br>void jump() {<br>}<br><br>bool detectCollision() {<br>}</pre><h3>The updatePhysics() Function</h3><p>The updatePhysics() function is central to handling all game mechanics that occur every second. In our game, three main tasks are managed within this function:</p><ol><li><strong>Dash’s Movement Physics (Jump):</strong></li></ol><ul><li>The dino character, Dash, must jump smoothly and land gracefully.</li></ul><ol><li><strong>Obstacle Movement:</strong></li></ol><ul><li>Obstacles should move towards Dash at a consistent pace</li></ul><ol><li><strong>Score Updates:</strong></li></ol><ul><li>The score increments when Dash successfully avoids obstacles.</li></ul><h3>Jump Functionality</h3><p>To ensure smooth jumping, the jump and land logic is incorporated within the updatePhysics() function. By default, Dash’s vertical velocity (velocityY) is set to 0, keeping him stationary until the user triggers a jump. When a tap occurs, velocityY is assigned a positive value, initiating the jump. The downward motion is governed by gravity, which continuously reduces velocityY in each frame.</p><p>To handle landing, we include a base condition: if Dash’s bottom position (dinoBottomPosition) reaches or falls below the ground level (0), we reset it to 0, set isInJumpState to false, and reset velocityY to 0. This ensures Dash does not sink below ground level and prepares for the next jump.</p><h3>Moving the Obstacles</h3><p>Obstacle movement is handled by subtracting small values from their <br>X-position, gradually moving them leftward across the screen. Obstacles start off-screen at the far-right. Once an obstacle passes Dash, the following actions occur:</p><ul><li><strong>Reset Position:</strong> The obstacle returns to its starting position.</li><li><strong>Update Score:</strong> The score increases to reward Dash for avoiding the obstacle.</li></ul><p>Additionally, to prevent unnecessary collisions, the reset speed increases when an obstacle moves past Dash without hitting him.</p><h3>The updatePhysics() Code</h3><pre><br>void updatePhysics() {<br>    setState(() {<br>      // Handle gravity and jumping physics<br>      velocityY -= gravity * (0.014); // Adjust for frame rate<br>      dinoBottomPosition += velocityY * (screenHeight / 400); // Adjust for frame rate<br>      <br>      // Check landing<br>      if (dinoBottomPosition &lt;= 0) {<br>        dinoBottomPosition = 0;<br>        isInJumpState = false;<br>        velocityY = 0;<br>      }<br>      // Move obstacle<br>      obstacleXPosition -= screenHeight * 0.004;<br>      if (obstacleXPosition &lt; screenWidth * 0.1) {<br>        obstacleXPosition -= screenHeight * 0.04;<br>      }<br>      // Reset obstacle and increment score<br>      if (obstacleXPosition &lt; screenWidth * 0.001) {<br>        obstacleXPosition = screenWidth;<br>        score++;<br>      }<br>    });<br>}</pre><h3>Jump Function</h3><p>The jump function triggers when the user taps the screen. To initiate a jump:</p><ol><li>Set velocityY to a positive value to counteract gravity and create upward motion.</li><li>Slightly adjust Dash’s horizontal position (dinoleftPosition) to add a sense of movement.</li></ol><pre><br>void jump() {<br>    if (!isInJumpState &amp;&amp; gameHasStarted &amp;&amp; !gameOver) {<br>      setState(() {<br>        isInJumpState = true;<br>        velocityY = jumpVelocity;<br>        dinoleftPosition += screenWidth * 0.005;<br>      });<br>    }<br>}</pre><h3>Collision Detection</h3><p>For a collision to occur:</p><ol><li>The obstacle’s X-position must be within Dash’s vicinity.</li><li>Dash’s height (dinoBottomPosition) must overlap with the obstacle’s height.</li><li>The edges of Dash and the obstacle must intersect.</li></ol><p>This logic is implemented in the detectCollision() function:</p><pre><br>bool detectCollision() {<br>    bool collision = (dinoleftPosition &lt; obstacleXPosition + (widthOfObstacle / 2) &amp;&amp;<br>                      obstacleXPosition &lt; screenWidth * 0.2 &amp;&amp;<br>                      dinoBottomPosition &lt; heightOfObstacle);<br>    return collision;<br>}</pre><h3>Starting the Game</h3><p>The startGame() function initializes variables and starts the game loop. The loop continuously calls updatePhysics() every 5 milliseconds, checking for collisions. If a collision occurs:</p><ul><li>The game ends (gameOver = true).</li><li>The timer stops.</li><li>The high score updates if the current score exceeds it.</li></ul><pre>void startGame() {<br>    setState(() {<br>      gameHasStarted = true;<br>      gameOver = false;<br>      score = 0;<br>      dinoBottomPosition = 0;<br>      obstacleXPosition = screenWidth;<br>    });<br><br>  // Game loop<br>    gameLoopTimer = Timer.periodic(const Duration(milliseconds: 5), (timer) {<br>      updatePhysics();<br>      if (detectCollision()) {<br>        gameOver = true;<br>        timer.cancel();<br>        if (score &gt; highScore) {<br>          setState(() {<br>            highScore = score;<br>          });<br>        }<br>      }<br>    });<br>}</pre><h3>Final Steps</h3><p>With these functions in place, the game is complete. <br>You can test it by running:</p><pre>flutter run -d chrome</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YnwwfYLWCZ5TUDhH5I6Ksg.png" /><figcaption>final look</figcaption></figure><p>Thanks a lot for taking a look and showing your interest in this article, If you liked it do show your support by adding few claps (It wont hurt you🤪)</p><p>Linkedin: <a href="https://www.linkedin.com/in/justinbenito/">https://www.linkedin.com/in/justinbenito</a><br>Instagram: <a href="https://instagram.com/justinbenito_b">https://instagram.com/justinbenito_b</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f215786412f6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nammaflutter/flutter-infinite-runner-dino-game-f215786412f6">Flutter Infinite Runner Dino Game</a> was originally published in <a href="https://medium.com/nammaflutter">NammaFlutter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Submission Guidelines of NammaFlutter]]></title>
            <link>https://medium.com/nammaflutter/submission-guidelines-of-nammaflutter-d4a507021d17?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4a507021d17</guid>
            <category><![CDATA[submission]]></category>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[guidelines]]></category>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 17:34:44 GMT</pubDate>
            <atom:updated>2025-11-24T01:28:20.902Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SXpVnh_k2kMu0xGRrqUZog.png" /></figure><p>Thanks a lot for taking your time and showing interest in contributing to the community. Your efforts will definitely help the community and members of our community to grow in Flutter.</p><p>Here are some pointers to remember before you submit an article.</p><ul><li>Add a “Development” tag if your article falls under the category of development, coding and building.</li><li>Add a “Experience” tag if your article falls under the category of experiences from Flutter events or while learning Flutter.</li><li>Make sure you keep the language in English or if you are really interested add the language in your title <br>eg. Flutter Articles I love | Tamil or Flutter best pratcie | Hindi</li><li>Submit your medium username and instagram account as a mail to nammaflutter [at_only_dw] gmail [dot] com (sorry lot of bots nowadays)</li></ul><p>Have fun and do support other authors. <br>Cheers 🩵</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4a507021d17" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nammaflutter/submission-guidelines-of-nammaflutter-d4a507021d17">Submission Guidelines of NammaFlutter</a> was originally published in <a href="https://medium.com/nammaflutter">NammaFlutter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The origins of NammaFlutter ]]></title>
            <link>https://medium.com/nammaflutter/the-origins-of-nammaflutter-fe4296dee4b2?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe4296dee4b2</guid>
            <category><![CDATA[flutter]]></category>
            <category><![CDATA[chennai]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[experience]]></category>
            <category><![CDATA[events]]></category>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 16:55:40 GMT</pubDate>
            <atom:updated>2024-11-25T17:38:10.799Z</atom:updated>
            <content:encoded><![CDATA[<p>From my school days, I have been working with Flutter, contributing to open-source projects, and building small apps to solve everyday problems I faced in my life</p><p>But there have been multiple times at which I wanted to break my head because I was not able to solve simple bugs and a help from an actual dev would have made my life easier.</p><p>But back then I had no clue that communities were a thing and that I can get my doubts solved in minutes.</p><p>Fast forward to two years,</p><p>when I now know that communities are a thing and communities have enthusiastic people who will support and help you out in your journey, I wanted to join a Flutter community here in chennai.</p><p>I searched for it, found it in twitter and found a link to apply for volunteering. However, I never heard back.</p><p>It felt like being ghosted by HRs in companies — I assumed they might have found someone better suited to be a part of their team.</p><p>But while googling for Flutter India and heres the plot twist, Bangalore, Ahmedabad, Mumbai and Nagpur all have their own official Flutter communities except… Chennai 😢</p><p>So I figured out that Flutter Chennai never existed to begin with.</p><p>As a software developer (okay atleast as an aspiring one), problems are meant to be solved and there was this huge gap and an opportunity to solve an actual real time problem.</p><p>So, I reached out to Abhishek Doshi of Flutter India and asked him about starting up a Flutter community in Chennai. He simply encouraged me to go ahead, start something, and host a few events.</p><p>With no prior experience in hosting events or even managing a crowd, I knew I couldn’t do it alone.</p><p>That’s when I reached out to my best friend Harish, and together, we decided to take the plunge. Best case, we’d successfully start Flutter Chennai, worst case we’d gain valuable experience trying to build something of our own.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/899/1*8pLShX7p8Er2F8q6O-Gmig.jpeg" /><figcaption>we are leading FFDG aswell 😁</figcaption></figure><p>So we started all social media accounts,</p><p>created a meetup group designed few posters and planned to test the cold waters. We planned on hosting a simple basic Flutter workshop and went with it.</p><p>The response ?</p><p>The response from our members was out of this world, we had almost around 50+ participants for our very first event and we understood that we were in the right track.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*-XjkNopCRfojj44UdyqSYQ.png" /><figcaption>our very first 101 session</figcaption></figure><p>One of the key things that we decided to follow is to go slow and steady and with that principle in mind we hosted our events from an event space of just 40. Each time we hosted a meetup, we increased the event space by 10 and we continuously did hit house full with participants gradually gaining trust in the community.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*Na9UE2hEc1dgjIkVoyKWEA.png" /><figcaption>our meetup at Thiran Tech</figcaption></figure><p>Chumma hosting events was not our intentions to begin with, we wanted a community that gave a feeling of belonging. A feeling that you, me and everyone interested in Flutter are connected beyond events and workshops. Hence the name <em>Namma Flutter.</em></p><p>not my community,<br>not your community,<br>but our community, Namma community 🩵</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe4296dee4b2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/nammaflutter/the-origins-of-nammaflutter-fe4296dee4b2">The origins of NammaFlutter 🩵</a> was originally published in <a href="https://medium.com/nammaflutter">NammaFlutter</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The First time my code failed in production]]></title>
            <link>https://medium.com/@justinbenito/the-first-time-my-code-failed-in-production-26687ac3b94e?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/26687ac3b94e</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[experience]]></category>
            <category><![CDATA[productionfail]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Wed, 09 Oct 2024 13:20:03 GMT</pubDate>
            <atom:updated>2024-10-09T13:20:03.633Z</atom:updated>
            <content:encoded><![CDATA[<h3>First time my code failed in production</h3><p>8:00 AM — I attend class <br>9:20 AM — I get a call that there is a system glitch ( fixed it shortly 🫡 )<br>10:30 AM — Production broke, everything froze ( didn’t fix it shortly 🫨 )</p><p>This is the first time,<br>my code has ever broke in production<br>not that I have many in production 😂</p><p>the internet was not working<br>the websites were not working<br>my mind was also not working 😌</p><p>but what was the app that broke in production ?<br>It was Innovation Day at my college hosted by my club BuildClub<br>and we wanted to build a voting system<br>to bring democracy into innovation day 😂</p><p>A simple voting system was my task<br>but when even that failed in front of my eyes<br>I had no clue what had happened at that moment !</p><p>Did someone just DDoS us ! 😵<br>Did I delete the database ! 😳<br>Am I suspended from college ? 😔<br>were all the things that were going around my head</p><p>But then I realised I was using Firebase with a FREE account<br>Alt Tab to Firebase,<br>I saw that the database was hidden with bold letters “Quota Exceeded”🫠</p><p>Not alone did the Quota Exceed<br>My panic level also Exceeded 100x</p><p>but then I found that I just had to write off my life savings to google<br>and my database would come back!</p><p>we paid and waited,<br>only for Google to take a bit more time to process <br>all of it and give us a bit more fear 😁</p><p>but at the end the DB came back online and everything went smooth<br>with over 1200+ students voting for their favourite innovation at SSN<br>using my code 🥹 (proud moment)</p><p>Thanks to BuildClub for letting me build it and even pay for it 😇</p><p>I’ll definitely not get the name<br>“The Intern who failed production” after this learning experience</p><p>But seriously I learnt a lot in optimising<br>for Firebase and Web Development at the end of the day.</p><p>Looking forward for not failing production again 😂</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*utj_xLUKxGMtdjvMT_k1HQ.png" /></figure><p><a href="https://www.linkedin.com/feed/hashtag/?keywords=fail&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7249768392839028736">#fail</a> <a href="https://www.linkedin.com/feed/hashtag/?keywords=production&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7249768392839028736">#production</a> <a href="https://www.linkedin.com/feed/hashtag/?keywords=development&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7249768392839028736">#development</a> <a href="https://www.linkedin.com/feed/hashtag/?keywords=firebase&amp;highlightedUpdateUrns=urn%3Ali%3Aactivity%3A7249768392839028736">#firebase</a> #code</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26687ac3b94e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Sophomore experience in SSNCE]]></title>
            <link>https://medium.com/@justinbenito/my-sophomore-experience-in-ssnce-ce5faaaeaa00?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce5faaaeaa00</guid>
            <category><![CDATA[ssn]]></category>
            <category><![CDATA[experience]]></category>
            <category><![CDATA[students]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[ssnce]]></category>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Sat, 17 Aug 2024 11:07:09 GMT</pubDate>
            <atom:updated>2024-08-17T11:07:09.275Z</atom:updated>
            <content:encoded><![CDATA[<p>It feels like yesterday but its been a year!</p><p>I broke so many of my goals in my 1st year, I didn’t think my 2nd year would be able to catch up.</p><p>But these past 10 month have truly changed my life for good!</p><p>From never liking Internships to doing 5 Internships in 1 year</p><p>From never getting to be part of any technical communities in my college to being able to be part of most of the technical clubs in my college.</p><p>From not hosting a single session in my life to hosting 10+ IRL events and 10+ online sessions and guess what ? From participating in hackathons to hosting them 🎉</p><p>I loved each and one of them and how it pressurised me into a diamond 💎</p><p>From 10 posts to 20 reels in Instagram</p><p>From 100 Thousand views to 1 Million views in Linkedin The content creation part of me has thrived in this past year.</p><p>Following James Clear suggestion on becoming 1% better everyday, I certainly tried to not allow time to give me regrets but only results.</p><p>This was absolutely a roller coaster ride with a lot of highs and a lot of lows 🤣 The road was not any better, infact filled with a ot of stones but atleast it was better than the road not taken.</p><p>I would love to know what your experience of your past year has been. Let me know in the box below 👇</p><p>All the best for your next year, if you are a student like me 🤝</p><p>#collegelife #college #ssn #learnings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*xxwJwx697nJZIHnvRhkmXw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce5faaaeaa00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What happened on a 12 day fully funded trip with strangers ?]]></title>
            <link>https://medium.com/@justinbenito/what-happened-on-a-12-day-fully-funded-trip-with-strangers-5d9032f1846e?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d9032f1846e</guid>
            <category><![CDATA[educationministry]]></category>
            <category><![CDATA[trip]]></category>
            <category><![CDATA[aicte]]></category>
            <category><![CDATA[exchange-student-programs]]></category>
            <category><![CDATA[uttarakhand]]></category>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Sat, 20 Apr 2024 11:53:46 GMT</pubDate>
            <atom:updated>2024-04-20T11:53:46.937Z</atom:updated>
            <content:encoded><![CDATA[<h3>What happened on a 12 day fully funded trip with strangers ?</h3><p>Out of 7500+ applicants,</p><p>I was fortunate to be one of the 46 delegates representing Tamil Nadu in Yuva Sangam Phase 4, a student exchange program hosted by AICTE and the Ministry of Education India under the “Ek Bharat Shrestha Bharat” scheme.</p><p>Our journey began on the 25th of March at IIIT Tiruchirappalli.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c98RmjjDLHarc_M8R-b6Kw.jpeg" /></figure><p>After a warm welcome and an inaugural ceremony, we embarked on a two-day train journey from Tiruchirappalli to Delhi, followed by a bus ride to Srinagar, Uttarakhand.</p><p>On the first day of the program, we were welcomed by the Nodal Institution of Uttarakhand (HNBG Central University), followed by another grand inaugural ceremony showcasing various cultural activities of Uttarakhand.</p><p>The next day, we climbed the beautiful hills of Uttarakhand to visit its temples and meet scientists from the HAPP Research Centre. We also enjoyed a small trek to Chopta Hills, often referred to as the Switzerland of Uttarakhand.</p><p>On the third day, we had the opportunity to learn about the inner electrical and mechanical systems of India’s number one hydropower plant, the Tehri Hydro Power Plant. We also visited the picturesque Kempty Falls near the Himalayan Adventure Institute of Uttarakhand.</p><p>The following day, I was selected to interact and share my experiences with the Honourable Governor of Uttarakhand. We also visited the Forest Research Institute, known for its appearance in the movie “Nanban,” and explored the Science City of Uttarakhand in Dehradun.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MANyafJH9Qb7WmzSjlxKsw.jpeg" /></figure><p>On our last day in Uttarakhand, we visited the Patanjali Development Centre and the Nammami Gange project site, followed by a visit to the holy river Ganga. Our journey concluded as we packed our bags and headed back to Tamil Nadu on 2nd April 2024</p><p>Upon returning, we had the privilege of interacting with the Honourable Governor of Tamil Nadu on 5th April 2024 before bidding farewell and returning to our homes.</p><p>Yuva Sangam has not alone given me positive experiences which have impacted my life but also 1000+ photos of all the unforgettable experiences throughout the journey.</p><p>Yuva Sangam is all about exposure and learning from different states of India, and it has had a profoundly positive impact on me, along with over 1000+ photos capturing unforgettable experiences.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d9032f1846e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn Coding faster than you think]]></title>
            <link>https://medium.com/@justinbenito/learn-coding-faster-than-you-think-112d8e6434c8?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/112d8e6434c8</guid>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[challenge]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Wed, 17 Apr 2024 12:20:59 GMT</pubDate>
            <atom:updated>2024-04-17T12:20:59.043Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Pe0E77ghB22OPolj" /><figcaption>Photo by <a href="https://unsplash.com/@clark_fransa?utm_source=medium&amp;utm_medium=referral">Arnold Francisca</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Here’s what I personally do <br>while learning a new language or a framework <br> <br>1️⃣ Pick a Hackathon<br>(the pressure comes in handy) <br> <br>2️⃣ Come up with an idea that involves <br>the tech you wish to learn <br> <br>3️⃣ Get a basic idea about the new tech <br>well before the hackathon <br> <br>4️⃣ Start building it!</p><p>5️⃣ Hit Roadblocks! search Stackoverflow, Read the docs<br>figure out your way through…</p><p>6️⃣ Do this continously<br>until you want to learn a new language.</p><p>Learning by tutorials is a 0 sum game <br>theory alone will only get you so far<br> <br>Wish to learn something new ? <br>Get started, Do it, Build it. <br> <br>Don’t forget to continue building projects <br>even after the hackathon <br> <br>How do YOU learn new stuff ? <br>Comment down below 👇 <br>atleast a like 👍☺️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=112d8e6434c8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What the Heck are Communities and why you should join them !]]></title>
            <link>https://medium.com/@justinbenito/what-the-heck-are-communities-and-why-you-should-join-them-874d5b090ff2?source=rss-8090667b17c1------2</link>
            <guid isPermaLink="false">https://medium.com/p/874d5b090ff2</guid>
            <category><![CDATA[people]]></category>
            <category><![CDATA[meetup]]></category>
            <category><![CDATA[community]]></category>
            <category><![CDATA[technical]]></category>
            <category><![CDATA[clubs]]></category>
            <dc:creator><![CDATA[Justin Benito]]></dc:creator>
            <pubDate>Tue, 16 Apr 2024 16:11:46 GMT</pubDate>
            <atom:updated>2024-04-16T16:11:46.890Z</atom:updated>
            <content:encoded><![CDATA[<h3>What the Heck are Communities and why you should join them !</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UsxuX9cwV_kCpvGeVF_Wsw.jpeg" /></figure><p>You must have heard the saying “You are the average of the 5 people you are with,” right?</p><p>That’s true. Interacting with like-minded people who are strongly passionate about their craft can level up your game, but finding these so-called “like-minded people” is the big issue that you and I face.</p><p>Only if there were a place where these people come together now and then 🤔</p><p>Wait, they do exist! Communities are the solutions to this problem.</p><p>Apple’s founders Steve Jobs and Steve Wozniak were also active members of the Homebrew Computer Club, which had an influential role in the personal computer revolution of our world.</p><p>Communities are groups of people who meet together to discuss or listen to others who are experienced in their craft.</p><p>There are a lot of communities around you, and you might not even be aware of them.</p><p>There are both technical communities as well as communities that have fun.</p><p>Some of the technical communities are Google Developer Group and FOSS United, which have local chapters that are actively present throughout India.</p><p>Communities also have the added advantage of giving a lot of exposure and networking opportunities if you are found to be enthusiastic and an active member.</p><p>Once you start to understand the amount of value communities bring to the table, you will start to engage more and more, even leading to hosting events on your own.</p><p>The ability to host events and manage people is one of the top skills you can add to your resume and speak a lot about in interviews.</p><p>If you are still on the fence about deciding to join communities, attend an event, and you will get the energy and enthusiasm. Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=874d5b090ff2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>