Создание простой игры на php
2 000 руб. за проект
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
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
Отзывы
В заказе есть исполнитель
При переводе заказа из архивного в актуальный, текущий исполнитель будет снят с задачи.
Выберите тип сделки
С безопасной сделкой вы всегда сможете вернуть средства, если что-то пойдет не так. С простой сделкой вы самостоятельно договариваетесь с исполнителем об оплате и берете на себя решение конфликтов.