diff --git a/README.md b/README.md index 2a9f8cd..c748578 100644 --- a/README.md +++ b/README.md @@ -1,220 +1,221 @@ -Technical Documentation: Fruit Fade Out Game using HTML -Summary : -Fruit Fade Out Game is a browser game where the player clicks on the randomly generated fruits to slice them. The game has a timer that runs down from 30 seconds, and the score of the player increases as he slices fruit after fruit. Upon completion of the time, the game ends and presents the score of the player, and there will be an option to rest the game. - -This documentation explains the structure and workings of the HTML code as well as details regarding the related resources such as CSS, JavaScript, and audio. - -1. HTML Structure -> - -The HTML file outlines the main structure of the game user interface together with its connections to all external resources outside of this document, including stylesheets and scripts. - -: Sets the page title which displays when opened in the browser. - -: Links an external stylesheet (style.css) for the game interface styling. - -This is the main content of the webpage, comprising: - -center": The
tag centers the content of the game, though it is deprecated in modern HTML. It's better to use CSS for centering. - -
: This is the main container for game elements. Inside it are several child elements: - -

: Presentation of the title of the game ("Fruit Fade Out"). -: Dispalys the player's current score. The text will be updated dynamically as soon as the player slices fruits and will start from "Score: 0". -
: Calculates and displays the remaining time, which starts at 30 seconds. This value will be updated dynamically. -
: This is a container in which the fruit elements will be placed. Fruits will be added to and removed from it dynamically during gameplay. -