Education Technology

Explorations with Coding: Shuffleboard Slide

by Texas Instruments


  • Use the draw_poly() function to draw triangles
  • Use the set_color() function to set pen colors
  • Use the randint() function to generate random integers.
  • Use if statements to make conditional decisions
  • Draw polygons on the coordinate plane
  • Use ratios and proportions to transform units
  • Decide whether two quantities are proportional
  • Use proportions to create scaled polygons

About the Lesson

In this project, you will create a disk gliding game (shuffleboard).  The game lets us the user “aim” at a triangle scoreboard.  Once the user presses “clear”, the disk will slide a random distance forward toward the scoreboard.  The score will be determined based on the final resting location of the disk.  You are tasked with writing the code to create the scoreboard and determine a score for each disk.  The rest of the code will be provided by your teacher.

Note: This lesson requires the use of TI-84 Plus CE Python technology and the additional ti_draw.8xv App Var which is available in the OS and Apps bundle version 5.7 for the handheld.