Posts

 ```c // Add these global variables near the existing global variables int rotatingGroup = -1; // Index of the rotating pipe group (0 to N_PIPES/4 - 1) float rotationAngle = 0.0f; // Rotation angle in degrees float gapOffset[N_PIPES]; // Per-pipe gap offset for dynamic gap size void resetGame() {     bird_y = 400;     bird_velocity = 0;     gameOverSoundPlayed = false;     int totalGroups = N_PIPES / 4;     // Select a random group to rotate     rotatingGroup = rand() % totalGroups;     int groupSpacing = SCREEN_WIDTH / 2;     for (int group = 0; group < totalGroups; group++) {         int baseX = SCREEN_WIDTH + group * groupSpacing;         int baseGapY = 150 + rand() % 200;         for (int i = 0; i < 4; i++) {             int idx = group * 4 + i;             pipe_x[idx] = base...

module 6

 div position: sticky, absolute and telative, fixed z-index: 1 ; it will show forward to another picture, which z index is greater , their image come first if they are emerged. h3::before / after === they mainly work in adding elements to all. p::first letter,/ first line ::selection makes mouse selection  design. button onclick: welcome script tag: function welcome() { alert(":");} .row> div{ flex; 1;}

MODULE -03 VCS Git

 VCS 3 types: local , centralized and distributive(gits)

DAY 02 Inline CSS

 CSS 3 types: 1. inline, 2.internal, 3. external, CSS for 1 tag(only 1) use id and #id in style, CSS for few tags, use class use .class_name in style. id should be always unique, CSS selector 5 types; grouping : h1, p{} (together) also for .class1,.class2{} , grouping can be mixed with 5 classes, Using in input tag:  for ID, input[id_name]{} ///// for type ,  input[type="type_name"]{} #multiple tags container copy paste: alt+shift+ down arrow;

DAY 01 HTML

 <b> </b> strong, em, i, p ; <br>, <ol>, <ul>, <button>, <li>, <a href=""> target="_blank"               <img src="" alt=" "> Add favicon,  #creating form inline: abbr(line of dots), cite (reference), q(quote)  , code , mark (yellow bg) type= 1,a,disc,  <a download="alucard"></a> set the name after downloading alucard Practice Task 01: make a travel blog, add a basic comment section also.

PH- WD Day-01 Date: June 28 2025

 1st module Done;