Tic tac toe SDLC

1. Planning and Analysis
Project planning and scheduling is a part of project management.
 
The project planning stage requires several inputs, including conceptual proposals, project schedules. The development of this project is not successfully done without proper planning and scheduling. Project planning and
scheduling is very important stage.
(a) Analysis:
 The maximum time for analysis phase of this project is 1 day.
(b) Design:
 The maximum time for design phase of this project are 3 days.
(c) Implementation:
 The maximum time for implementation phase of this project are 2 days.
(d) Testing:
 The maximum time for testing phase of this project is 1 day
8.
 
2.Development Process
 I planned the project over a period of 7 days and divided it into some software life cycles
3.Risk Management
A common definition of risk is an uncertain event that if it occurs, can have a positive or negative
effect on a project’s goals. It helps us to achieve the project’s objectives, thus ensuring the
successful completion of the project. For successful development of this project we have to need to identify the possible risk. The possible risk for this project is described in below:
(a) The probability of moving away our-self from this project before it is finish is low
(b) The probability of user acceptance is great.(c) The probability of requirement can’t come in the time is low.
(d) The probability of marketing the product system is great.
(e) The probability oftechnology components aren’tfit for purpose of this project is low.
(f) The probability of selecting low quality requirements are low
(g) The probability of take wrong decisions are low.
 
(h) The probability of does not complete this project within a limited time is low.
4.Development Tools and Programming Languages
(a) Android Studio
(b) Mobile app
(c) C# Programming language
5. Expected Requirements
These requirements are implicit to the system and may be so fundamental that the actor/gamer/relevant people does not explicitly state them .Their absence will be a cause for dissatisfaction
1. Develop system within limited cost.
2. Maximum high definition.
3. Minimum hardware requirements which is relevant for this game.
4. Design whole system with efficient manner.
Development Tasks
1. Android Studio
will bring all of the following codes together to create the game. It will alsohandle AI and physics routines.
2. Graphics engine
will be responsible for rendering text, 2D images
(a) Drawing models
(b) Drawing sprites
(c) Drawing text
6.SYSTEM DESIGN
Then I began with the design phase of the system. System design is a solution, a “HOW TO” approach to the creation of a new system. It translates system requirements into ways by which they can be made operational. It is a translational from a user oriented document to a document oriented programmers. For that, it provides the understanding and procedural details necessary for the implementation. Here I use Flowchart to supplement the working of the new system. The system thus made should be reliable, durable and above all should have least possible maintenance costs. It should overcome all the drawbacks of the Old existing system and most important of all meet the user requirements 
7. Testing
TESTING  is the major control measure used during software development. Its basic function is to detect errors in the software. During requirement analysis and design, the output is a document that is usually textual and no executable. After the coding phase, computer programs are available that can be executed for testing purpose. This implies that testing not only, has to uncover errors introduced during coding, but also errors introduced during previous phase. Thus the goal of testing is to uncover the requirements, design and coding errors in the programs. So after testing the outputs of my project are as follows:
8.Code
public partial class Trips_traps_trull : ContentPage { public bool esimene; int tulemus = 2; int[,] Tulemused = new int[3, 3] { { 5, 5, 5 }, { 5, 5, 5 }, { 5, 5, 5 } }; Grid g, g2; Button uus_mang, button; Image img; bool x = false; List<Image> newList=new List<Image>(); public Trips_traps_trull() { g = new Grid { VerticalOptions = LayoutOptions.FillAndExpand, BackgroundColor = Color.White, RowDefinitions = { new RowDefinition { Height = new GridLength(2, GridUnitType.Star) }, new RowDefinition { Height = new GridLength(1, GridUnitType.Star) } }, ColumnDefinitions = { new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) } }, }; Uus_mang(); uus_mang = new Button() { Text = “Uus mäng” }; button = new Button() { Text = “Muutke taustavärvi” }; g.Children.Add(uus_mang, 0, 1); g.Children.Add(button, 0, 2); uus_mang.Clicked += Uus_mang_Clicked; button.Clicked += Button_Clicked; Content = g; } private void Button_Clicked(object sender, EventArgs e) { int i=0; Random r = new Random(); g.BackgroundColor = Color.FromRgb(r.Next(0, 256), r.Next(0, 256), r.Next(0, 225)); g2.BackgroundColor = Color.FromRgb(r.Next(0, 256), r.Next(0, 256), r.Next(0, 225)); i++; try { Vibration.Vibrate(); var duration = TimeSpan.FromSeconds(0.1); Vibration.Vibrate(duration); } catch (FeatureNotSupportedException ex) { } catch (Exception ex) { } } public async void Kes_on_esimene() { string esimene_valik = await DisplayPromptAsync(“Kes on esimene?”, “Tee valiku Krestik-1 või Nolik-2”, initialValue: “1”, maxLength: 1, keyboard: Keyboard.Numeric); if (esimene_valik == “1”) { esimene = true; } else { esimene = false; } } private void Uus_mang_Clicked(object sender, EventArgs e) { Uus_mang(); } public async void Uus_mang() { bool uus = await DisplayAlert(“Uus mäng”, “Kas tõesti tahad uus mäng?”, “Tahan küll!”, “Ei taha!”); if (uus) { Kes_on_esimene(); int[,] Tulemused = new int[3, 3]; tulemus = 2;
9. Maintenance
▪︎Press the play button to start the game
▪︎Click on the fields so that crosses and zeros appear
•Make updates by pressing the new game button
10. Conclusion
The Tic Tac Toe game is most familiar among all the age groups.
Intelligence can be a property of any purpose-driven decision maker. This basic idea has been suggested many times. An algorithm of playing Tic Tac Toe has been presented and tested that works in efficient way. Overall thesystem works without any bugs.