This course introduces learners to the process of building a web interface for the LLM prediction game using HTML, CSS, and JavaScript. By the end, players can interactively play the game, submit guesses, see scores, and compete on a leaderboard.
Overview
Syllabus
- Unit 1: Building the Main HTML Template for the LLM Prediction Game
- Creating Your First Flask Template Route
- Creating Your First HTML Template
- Adding the Main Game Container
- Adding the Game Start Button
- Adding the Game Information Section
- Adding Response Area and Guess Table
- Adding the Player Input Area
- Adding End Game and Leaderboard Sections
- Linking Static Assets for Game Functionality
- Unit 2: Styling Your Word Play Game with CSS
- Basic Body Styling for Your Game
- Creating a Centered Game Container
- Styling Headings for Visual Hierarchy
- Styling the Response Area for Clarity
- Styling Game History Tables for Clarity
- Styling Input Fields for Better Gameplay
- Styling Buttons for Interactive Game Experience
- Creating a Hidden Utility Class
- Unit 3: Implementing Game Logic and Interactivity with JavaScript
- Fetching Game Data to Start Playing
- Displaying Words One by One
- Adding the Game Start Trigger
- Tracking Player Progress with Score Tables
- Processing Player Guesses and Scoring
- Updating the Display After Player Guesses
- Submitting Scores to the Leaderboard
- Displaying the Leaderboard for Top Scores