e.preventDefault(); // Prevent form submission input.blur(); // remove focus input.value = ""; // optional: clear the input
Peg Solitaire Roku

Peg Solitaire

Roku

Key Challenges

  • The main challenge was to make valid moves, to empty the entire board except for a solitary peg.
  • To design the triangular game board having the pegs and handle the left, right, up, and down click the control to move the focus.
  • To implement the different goal mode, original mode to make valid moves, to empty the entire board except for a solitary peg and the challenge mode to complete the same task in the time limit.
  • To implement the functionality to handle the ok click to remove the first users select peg and valid moves to remove the pegs from the game board.

Progress

  • Initially, we designed the game board having the triangular board with pegs using the scene graph’s different renderable nodes.
  • Implemented logic in BrightScript to handle the left, right, up, and down click. Also implemented the control to move the focus on the triangular game board.
  • Implemented logic in BrightScript to handle the ok click control to remove the peg and movement of the pegs.
  • We used Scene Graph timer node to set the time limit to achieve the challenge in challenge game mode.

Result

  • Successfully designed the triangular game board having the pegs and handle the left, right, up and down click the control movement of the pegs.
  • Peg Solitaire lovers finally found their long lost game on the Roku Channel Store.
  • Ready to take a challenge - https://channelstore.roku.com/details/116630/peg-solitaire-free
Are you ready to take on the challenge? Find the opportunity that fits you.
Search jobs

India

Plot No. 11/2, Phase 3, Hinjewadi Rajiv Gandhi Infotech Park, Pune, India – 411057.
info@tudip.com
+91-96-8990-0537

United States

1999 S. Bascom Ave Suite 700, Campbell CA. 95008, USA.
info@tudip.com
+1-408-216-8162

Canada

64 Caracas Road North York, Toronto Ontario M2K 1B1, Canada.
info@tudip.com

Mexico

Calle Amado Nervo #785 Interior B Colonia Ladron De Guevara 44600 Guadalajara, Jalisco, Mexico.
info@tudip.com

Colombia

Cra. 9 # 113-53 Of. 1405 Bogotá D.C., Colombia.
info@tudip.com

UAE

Tudip Information Technologies L.L.C Office No 109, ABU HAIL BUILDING 13, Abu Hail, Dubai, UAE.
info@tudip.com

Nigeria

22 Kumasi Crescent, Wuse 2, Abuja, Nigeria.
info@tudip.com