Lego NXC programs

Pinball

Authors: Joan Climent Ciscar, Francisco Zamora Martinez
Year:2011
Description: A pinball game built using light sensors for detect the ball at the top of the table and at the bottom. At the top the light sensor add points, at bottom the light sensor removes balls. It comes with the music of Tetris:
  • Left slide touch sensor at port 3
  • Right slide touch sensor at port 4
  • Left slide motor at port A
  • Right slide motor at port B
  • Another motor at port C
  • Score light sensor at port 1
  • Ball out light sensor at port 2
Download code here