Skip to content

vinnytherobot/Chess-Time-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Time Controller ⏱️

A simple and interactive Chess Time Controller built with HTML, CSS, and JavaScript. This project provides an elegant and functional solution for tracking and managing player time during chess matches.

Features

  • 🕒 Two separate timers for each player, with a starting time of 3 minutes.
  • 🔄 Player turn switching with a single click.
  • ⏳ Countdown mechanism that stops when time runs out.
  • 🎨 Clean and minimalistic UI with visual feedback for the active player.
  • 📱 Fully responsive design for desktops and mobile devices.

How It Works

  1. Each player is assigned a timer displayed in large, rotated text for easy visibility.
  2. Click on a player's side to start their timer and switch turns.
  3. The active timer decreases every second until the player's time runs out.
  4. An alert notifies the end of the match when a player's time reaches zero.

Technologies Used

  • HTML: For the structure of the application.
  • CSS: For styling the user interface.
  • JavaScript: For the core logic, including timer functionality and interactivity.

How to Use

  1. Clone or download the repository.
  2. Open the index.html file in any modern browser.
  3. Start your chess match and track player time effortlessly.
# Clone the repository
git clone https://github.com/your-username/chess-time-controller.git

# Navigate into the folder
cd chess-time-controller

# Open the application
open index.html

About

Chess Time Controller is a lightweight web-based application designed to manage chess game timers. Built with HTML, CSS, and JavaScript, it features two timers, one for each player, starting with 3 minutes by default. The interface is clean, responsive, and intuitive, making it ideal for casual chess games.

Topics

Resources

License

Stars

Watchers

Forks

Contributors