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

2048 Free

Roku

Key Challenges

  • The main challenge was to slide numbered tiles on a grid and combine them to create a tile with the number 2048.
  • To design the 4x4 grid game board and handle the left, right, up and down arrow click control.
  • To set a different animation for new tile whenever two tiles combine and make a new tile.
  • The score had to be calculated by the increment value of new tile whenever two tiles combine.

Progress

  • Initially we designed the 4x4 grid size game board using the scene graph’s different renderable nodes.
  • We used different scene graph animation and scale nodes to implement the animation of new tile and handle the left, right, up and down arrow click control.
  • Implemented logic in brightscript for two tiles of the same number collide while moving, they will merge into a tile with the total value of the two tiles that collided.
  • Implemented logic in BrightScript for calculating the increment value of new tile whenever two tiles combine.

Result

  • Successfully designed the 4x4 grid size game board and handle the left, right, up and down arrow, click control of moving and merging the tiles.
  • 2048 game lovers finally found their most popular game at the Roku Channel Store.
  • Ready to take a challenge - https://channelstore.roku.com/en-gb/details/116714/2048-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