Article

Go to top

# Trangle - Definition of a Game for the Intel® App Innovation Contest 2013

, 1 Sep 2013
 Rate this:

What follows is a definition of a game “Trangle”, a game inspired by Rubic’s cube.

The idea was to create a visually interesting game that required visualization skills and logic. I believe that Trangle will achieve this and that the game will be both interesting and challenging. At the simplest level, it will amuse and at the higher levels, it will certainly challenge.

### Trangle – A Game of Visualization and Logic Inspired by Rubic’s Cube

If you enjoy Rubic’s cube, you will enjoy Trangle! It is a visually exciting and deceptively simple game.

Starting from a simple large triangle consisting of groups of smaller colored triangles, the game randomizes the colors and the player must restore the layout by moving the rows left, right, up, down, or along the angles of the triangle. This is like rotating the sides of a Rubic’s cube, except there are more possibilities to move the triangles.

How many moves will it take, how quickly can you do it? The game keeps a leader board for each level based on time and number of moves.

The game has multiple levels of complexity starting from a small triangle of sixteen smaller triangles to a large triangle of sixty four smaller triangles. There are also added levels of visual complexity as the large triangle is rotated top to bottom and left to right.

### Game Layout

1. The playing layout consists of a large triangle made up of smaller colored triangles.
2. There are four triangles of each color in the layout.
3. The game has multiple levels.
4. The initial level has four groups of four colored triangles, a total of sixteen triangles.
5. The next level adds five groups of four colored triangles, twenty triangles, for a total of thirty six triangles.
6. The next level has sixteen colors, sixty four triangles.
7. Further levels switch the base of the large triangle from bottom to top, left and right

### Game Play

1. The game starts with the layout arranged with all the colored triangles neatly grouped together.
2. The triangles are then randomized to mix up the colors.
3. The object is to then restore the triangles to their initial layout.
4. Moves are executed by tapping on two triangles in a line. The triangles would be highlighted as they are tapped.
5. The triangles in that line are then rotated from the position of the first triangle to the position of the second triangle with wrapping around the edges of the large triangle.
6. Lines can be horizontal, vertical or angled.
7. Moves can be left to right, right to left, up or down along the lines of triangles.
8. The game records the number of moves and the time taken from the start of the game.
9. The game maintains a leader board of the lowest number of moves and time to completion for each level.
10. The initial levels have the layout with the wide end of the triangle at the bottom of the screen.
11. Later levels have the wide end of the triangle at the top, the left and the right of the screen. This requires a different level of visualization from the player.
12. The player can pause the game at any time and resume later. During a pause, the colors would revert to gray. On restart, the colors would be restored.
13. The player can save a game for continuation later.
14. The game checks continuously for completion, that all the colored triangles are grouped together in their original layout.

### Game Features

1. The game starts with a simple flash page of the Trangle logo and the full colored layout. The game then makes random moves until the player taps or clicks on the screen when the menu screen will be displayed.
2. The menu screen allows the player to select by tapping/clicking:
1. Play
2. Instructions
3. Scores
4. Setup
5. Credits
6. Bye Bye
3. Play - Starts with the layout in its original form. By tapping /clicking the player starts the randomization process and then starts playing. By tapping/clicking on triangles, the player selects triangles to be moved.
4. Instructions – The instructions screen is animated to demonstrate the possible moves and the completion of the game.
5. Scores – The leader board is shown per level in Time or Moves sequence.
6. Setup – Allows the player to change colors and select language.
7. Credits – The developers, software and languages used are credited.
8. Bye Bye – Exits the game.

### Future Improvements

2. Transmission of a starting randomized layout from player to player so that they can compete against each other for time or number of moves.
3. Multiple language choice.

### Development

1. The game will be programmed in AGK Basic.
2. The graphics will be developed using Gimp 2.

Henry “Pops” Hugo is an old gray plodder who started programming in 1969 and has seen a lot of languages, computers and developments in the computer industry. Languages such as NEAT/3 (“who remembers that?”), Fortran, COBOL, Basic, Pascal, variations of C, Visual Basic, NS Basic, AGK Basic, Lua are amongst them. Game programming is a new interest which is really exciting and challenging. Pops is looking forward to developing “Trangle” and learning new skills in the process.

## Share

Sales
South Africa
I am an old grey plodder who has been programming in many languages since 1969. Languages include NEAT/3 (who remembers that?), Fortran, COBOL, Nixdorf Business Basic, C, C++, C#, LUA, VB, AGK Basic, NS Basic. Applications include Retail, Insurance, Manufacturing and others. I also have created websites using HTML, CSS and Javascript. I am currently involved in sales but programming for my own entertainment.