Question: I need help with following program in android studio Make a connect 4 game. https://www.youtube.com/watch?v=hAOfEA3C-NI. Connect 4 allows users to pick a column and puts

I need help with following program in android studio

Make a connect 4 game. https://www.youtube.com/watch?v=hAOfEA3C-NI. Connect 4 allows users to pick a column and puts a piece in that column in the first available row slot. So you have to do some programming to see if the view below you is empty and if it is, have the player's piece travel down.

MINIMUM REQUIREMENTS

Using the same strategy in CH 3 of the book Version 5-- namely your game must have

1) A Model View Controller

2) The Model must have functions that encode the gameplay just like tic tac toe including checking for victory

3) The view must be constructed programatically using a grid layout with an array of buttons

4) The Controller must be the only entity that interacts with the View and the Model

5) Must have a multiple grid space view for user information (just like tic tac toe in figure 3.9)

6) Must give the User Alerts like in 3.10 using the Alert Dialog (i.e. like in 3.9)

please help thanks

 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!