I want to code | Day 2 | Javascript: Feel the vibe
hashnode.programmersdiary.com·1d
🚀Modal
Preview
Report Post

It’s hard to start coding. Let’s the computer help us.

Today we will vibe code.

Chatbots can code quite well if supervised correctly.

Idea

Let’s create a solo paintball game where player automatically shoots projectiles which bounce off the wall and another projectiles. If player is hit game restarts.

Plan

We can break the idea to several steps:

10x10 white tile grid. Black lines separate the tiles. 1.

Right bottom tile is occupied by a player which is blue. 1.

Player can move with WASD or Arrows. 1.

Player shoots red balls every 5 seconds to the direction he is looking to. Direction is determined by the mouse. 1.

When the ball hits the wall it bounces off. 1.

When the ball hits the another ball it bounces off. 1.

When the player is hit game is reset. …

Similar Posts

Loading similar posts...