kataqatsi / magic-triangle-game

Little game where user inputs 3 numbers, and the triangle works it's magic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

magic-triangle-game

Little game where user inputs 3 numbers, and the triangle works it's magic.

Example:

            ( ? )

      [ x ]      [ y ]

( ? )      [ z ]      ( ? )


User is asked to input a number for each [ ] for x , y , and z.

Each ( ? ) adjacent to the [ ] must have a sum equal to the [ ] they are adjacent to.

Example Solution:

            ( 5 )

      [ 7 ]      [ 5 ]

( 2 )      [ 2 ]      ( 0 )

  • User entered: [7, 5, 2]
  • Answers:
  • Top: 5
  • Left: 2
  • Right: 0
  • About

    Little game where user inputs 3 numbers, and the triangle works it's magic.


    Languages

    Language:Java 100.0%