Web scrapping and modification
The PHP page provided generates the board and places tiles. There is also a selectable link called ‘Action 4:’, this button places shrimp on the board.
Part 1
Provided with the following code file, modify the Game Log link so that it displays a text file called GameLog.txt. When shrimp are added to the board, append the board location to GameLog.txt. It should read something like “A shrimp was placed on D3”. Whenever a new game is started the GameLog should be cleared.
Part 2
Add another link next to the GameLog link called Save Game. Whenever this is activated it writes the contents of the board to a text file called SavedGame.txt. Create a new PHP page that displays the contents of this file that is linked to the main PHP page.
Special note: This assignment is turned into a Linux server with special read and write permissions
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | topic title | discipline | academic level | pages | delivered |
---|---|---|---|---|---|
6
|
Writer's choice
|
Business
|
University
|
2
|
1 hour 32 min
|
7
|
Wise Approach to
|
Philosophy
|
College
|
2
|
2 hours 19 min
|
8
|
1980's and 1990
|
History
|
College
|
3
|
2 hours 20 min
|
9
|
pick the best topic
|
Finance
|
School
|
2
|
2 hours 27 min
|
10
|
finance for leisure
|
Finance
|
University
|
12
|
2 hours 36 min
|