Software Developer
I'm Sudarshan Rai, a seasoned Fullstack Developer based in Nepal, with 6+ years of experience in delivering high-performance applications. My technical foundation—spanning frameworks, libraries, and runtime environments. I proactively research emerging technologies to ensure the solutions I build are modern, scalable, and future-proof.
Markdown supported · ⌘↵ to post
Gunaraj Khatri
Challenge of bounce to-fro: modify in update() method
if(this.x===0){ this.count--; } if(this.x===canvas.width){ this.count++; } if(this.count===0){ this.x += this.speedX; this.y += this.speedY; } else{ this.x -= this.speedX; this.y -= this.speedY; }initially count is supposed to be 1