BLOKUS
Team A1: Blokus
Nadine Bao, Jonathan Nee, Aria Zhang
Application Area and Solution Approach
System Overview
Complete Solution
Complete Solution
Metrics - High Level User Requirements
Name | Req. | Measurement | Description |
End to end latency | 150ms | CV: 82ms (60-120ms) Server: 28ms (23-37ms) Arduino: 23ms (10-40ms) Total: ~133ms | End to end latency from piece placed to LED being lit Avg time of individual components Additional delay due to sending cell by cell, could send all at once |
Accuracy | 100% | 20/20 tests passed | Accuracy of piece placed on one board to LED lighting up on opponent board, including invalid moves Measured from one board to lighting up on board with LEDs |
Metrics - Computer Vision
Name | Requirement | Measurement | Description |
Color + Coordinate Identification Video Test | 100% pass | 20/20 tests | Given reasonable lighting conditions, identification of correct pieces in correct cells by CV Placed a piece down, and measured if correct coordinates were output in software |
Validity of Moves | 100% pass | 20/20 tests | Given piece placed, local client to determine validity Placed a piece down, and measured if software correctly responded to valid/invalid move |
Metrics - Client Software + Server
Name | Requirement | Measurement | Description |
Client 1 to Server to Client 2 | < 40 ms | Average: 28.3 ms Max: 37.4 ms Min: 23.5 ms | Sending messages from client to server to client (200 trials) |
Valid move verification | < 1 ms | Average: 0.047 ms Max: 0.073 ms Min: 0.035 ms | Timing when GUI received mouse input to displaying on screen (100 trials) |
Metrics - Arduino + LEDs
Name | Requirement | Measurement | Description |
Arduino Code Execution Time | <1ms | ~.78 ms 10 timed code execution | Time necessary to:
|
Accurate LEDs Behavior | 100% pass | 20/20 visual tests passed | Expected color and coordinates of each piece Given a color and coordinate, to light up that respective LED that color |
Trade-offs
Project Management
Lessons Learned