Now that the base game logic is in place, this course introduces user interaction, semantic scoring, and a leaderboard system to bring competition and personalization into the experience. Learners will integrate server logic that connects the frontend with dynamic game behavior.
Overview
Syllabus
- Unit 1: Scoring Word Guesses with Semantic Similarity and spaCy
- Loading the Language Model
- Creating the Word Similarity Function
- Processing Words into Vector Form
- Making Word Comparison Case Insensitive
- Calculating Word Similarity Scores
- Unit 2: Creating a Leaderboard for Your Word Prediction Game
- Initializing the Database Connection
- Building the HighScore Model
- Creating Leaderboard Function Signatures
- Implementing the Score Submission Logic
- Saving Scores to the Database
- Fetching Scores for the Leaderboard
- Sorting Scores for Top Players Display
- Unit 3: Creating the Main Game Routes in Flask
- Creating Your First Flask Blueprint
- Building the Game Data Route
- Processing Player Guesses with Flask
- Creating the Score Submission Route
- Creating the Leaderboard Display Endpoint
- Unit 4: Initializing the Flask App for Your Word Prediction Game
- Creating Your First Flask App
- Initializing Database Tables with Flask Context
- Registering Blueprints for Route Organization
- Making Your Flask App Runnable