Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Mercedes-Celedon/lucky-cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lucky Cat Game

Overview

Lucky Cat is a simple web-based game where players can enter their names, and upon clicking the "Lucky Match" button, each player receives a random fortune phrase. The game allows up to 15 players at a time. The interface includes options to add, edit, and delete player names, and a reset button to start over.

Features

  • Add, edit, and delete player names.
  • Randomly assign a fortune phrase to each player.
  • Limit of 15 players.
  • Reset functionality to clear all player names and fortune phrases.
  • Simple and intuitive user interface.

Technologies Used

  • HTML
  • CSS
  • JavaScript

Project Structure

/

├── index.html

├── styles/

│ ├── body-cat.css

│ ├── responsive-web.css

│ ├── title.css

│ ├── body-styles.css

│ └── styles-frases.css

├── sonido/

│ └── Trabaja Duro Juega Duro - Luna Cantina.mp3

├── images/

│ ├── icons8-izquierda-48.png

│ ├── cara-gato.png

│ └── pies-gato.png

│ └── galleta-de-la-fortuna.png

├── scripts/

│ ├── sonido.js

│ └── lucky_cat.js

└── README.md

Setup and Installation

  1. Clone the repository or download the ZIP file.

  2. Open the index.html file in your web browser to play the game.

Usage

  1. Add Player Names: Enter a player's name in the input field and click the "Add" button or press "Enter" to add the name to the list.

  2. Edit Player Names: Click the edit button next to a player's name to modify it.

  3. Delete Player Names: Click the delete button next to a player's name to remove it from the list.

  4. Assign Fortunes: Click the "Lucky Match" button to assign a random fortune phrase to each player.

  5. Navigate Back: After clicking "Lucky Match", use the back arrow button to return to the player list. You can add, edit or delete players as long as the total does not exceed 15.

  6. Reset the Game: Click the "RESET" button to clear all player names and fortune phrases.

--

Enjoy playing Lucky Cat and may the fortune be in your favor!

About

Proyecto creado con DOM para conocer tu suerte

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5