Создание простой игры на php

2 000 руб. за проект
06 мая 2023, 15:15 • 5 откликов • 46 просмотров
Task:
Write a code that allows several users to play the following game (for example, from the command
line):
1) The number of players is determined, each player enters his name
2) All players are given two random existing pages from Wikipedia at the start. Start and finish
3) Next, each of the players is given a list of pages that can be accessed via links from the current
page
4) Each player selects a page to go to, after which he receives a list from a new page, and so on
5) Players move in turn
6) The player stops walking when they reach the finish page. At this moment, the number of
transitions for which he managed to reach the finish line is fixed.
7) After all players have reached the finish line, a table with their results is displayed.

Conditions:
1 The code must be written in PHP
2 You cannot use ready-made frameworks
3 The code must be written in OOP style
4 Entry points must be implemented as an API

the task need to be delivered before 11/05/2023
Отзывы
Avatar r50 a6ce93fe35b158fd29ba0e8681c918c22117160e9586a56eee4ffbc20df9bda1
Заказчик
 
~ 1 год назад
R50 f54de876887b67cf841c65d1dfdd221d
Фрилансер
Отличное задание, оперативная связь и своевременная оплата. Будем работать еще.
~ 1 год назад