Daniel-Martinez / Tags

Tags
0 stars 0 forks source link

Set-up test of our targeting system #38

Closed Daniel-Martinez closed 10 years ago

Daniel-Martinez commented 10 years ago

Get the final rules of game board layout and measure and test for accuracy the targets in the playing field.

Daniel-Martinez commented 10 years ago

Have created methods for Kill Enemies, Friends and All targets. Test that out tracking is OK on 5/1 when we have access to the server. Phi seems to be OK, maybe tracking a little slow to the right. Theta now calculates properly so we will need to test the speed during Server test.

Daniel-Martinez commented 10 years ago

After out test with the game server our methods are solid. we have the ability to kill all targets, friend or foe, Kill all friends, or Kill all enemies. Test of the server resulted in about 2/4 hit ratio.

Daniel-Martinez commented 10 years ago

We were testing with a different Dream Cheeky than we were used to and the movement was slower than ours. Did not recalibrate the program. Additional test with out Dream Cheeky resulted in better performance in which we hit 3/4 targets. Happy with the conclusion. Below is a post of one of our method for Kill All.

Daniel-Martinez commented 10 years ago

private void All_Targets() { m_targetView.SetPhiTheata(Targets); List temp = Targets.ToList();

        temp.Sort();
        temp.Sort();

        if (m_selectedLauncher != null)
        {

            foreach (TargetViewModel target in Targets)
            {
                m_selectedLauncher.Position(target, 2);  //value 2 represent kill all

            }

                GameChoice();

            //This block will aquire Target list to include Hit status and update GUI

            foreach (var target in Targets)
            {

                double temp_score = target.Hit * target.Points;
                score = score + temp_score;
                OnPropertyChanged("score");
            }
        }

    }