---
title: "Sudarshan Rai (@sudarshanrai) | Hashnode"
description: "Software Developer. Read the latest articles by Sudarshan Rai on Hashnode."
url: "https://hashnode.com/@sudarshanrai"
---

@sudarshanrai

# Sudarshan Rai

@sudarshanrai · Sydney, Australia · Joined March 2022

Software Developer

[Website](https://sudarshanrai.com.np/)

## Comments

[Gunaraj KhatriNice one, Also You can add rect width to rect x position to get rect right side of the for bounce. if(this.x + this.width === canvas.width)](https://hashnode.com/posts/02-game-loops/624efb667f832067321ea09a/comment/624fce367f832067321eb1c9#reply-624fd4fbbd2d386758329dfb)

Reply · Article · Apr 8, 2022 · [02 Game Loops](https://hashnode.com/posts/02-game-loops/624efb667f832067321ea09a)

[Thank you Shanti Moktan](https://hashnode.com/posts/02-game-loops/624efb667f832067321ea09a/comment/624f042f7f832067321ea2b7#reply-624f15dcbd2d386758329116)

Reply · Article · Apr 7, 2022 · [02 Game Loops](https://hashnode.com/posts/02-game-loops/624efb667f832067321ea09a)
