A playable minesweeper developed with HTML, AJAX, PHP and BladeOne technology

Overview

minesweeper

Escribe una aplicación PHP que lleve a cabo la siguiente funcionalidad: Se trata de implementar un sencillo juego de buscaminas. El Buscaminas es un juego de ordenador para un solo jugador. El objetivo del juego es despejar un campo minado sin detonar ninguna mina. El tablero de juego del Buscaminas es un rectángulo de filas y columnas (8x8). En cada posición de fila y columna hay una celda o casilla, inicialmente cubierta. En algunas de esas celdas se ocultan 10 minas. El jugador debe despejar todas las celdas del tablero excepto aquellas que ocultan una mina. Si el jugador da la orden de levantar una celda con mina, entonces pierde el juego. Algunas casillas, entre las que no son celdas de mina, tienen asignado un valor numérico: ese valor indica el número de minas que circundan a la posición de esa celda. Cada celda tiene hasta un máximo de otras ocho que la rodean, y por tanto el valor máximo que podrá tomar una celda es 8. Habrá casillas que no tendrán ninguna mina a su alrededor: a esas casillas no se les asigna número alguno (o se les asigna el valor 0). Cuando el jugador levanta una celda sin valor numérico y sin mina es inmediato saber que las ocho celdas que la rodean tampoco tienen mina: por eso, cuando el jugador selecciona una celda sin valor, el juego desvela automáticamente todas aquellas celdas que, a partir de ésa seleccionada, se encuentren también sin valor, hasta levantar todas aquellas que tienen un valor numérico distinto de 0. La partida acaba cuando el jugador a descubierto todas las casillas menos las que tienen las minas o el jugador ha descubierto una casilla con mina

Orientaciones:

  1. Estructuras de control variadas
  2. Utilización de arrays bidimensionales
  3. Uso de Funciones de usuario
  4. Envío de bloques de información desde el formulario
  5. Interacción múltiple con la aplicación
  6. Ordinograma de control del controlador
  7. Uso de AJAX para posibilitar la comunicación entre el cliente y el servidor de manera asíncrona.
  8. Uso de JSON como formato de intercambio de datos.
  9. Manipulación de elementos del DOM con JQuery.
  10. Uso de composer
  11. Generación de vistas con motor de vistas BladeOne
  12. Arquitectura controlador y vistas. Patrón MVC
  13. Uso de recursos de programación funcional (array_map, array_walk, array_filter, etc).
You might also like...
Track any ip address with IP-Tracer. IP-Tracer is developed for Linux and Termux. you can retrieve any ip address information using IP-Tracer.
Track any ip address with IP-Tracer. IP-Tracer is developed for Linux and Termux. you can retrieve any ip address information using IP-Tracer.

IP-Tracer is used to track an ip address. IP-Tracer is developed for Termux and Linux based systems. you can easily retrieve ip address information using IP-Tracer. IP-Tracer use ip-api to track ip address.

This is a PHP library developed for Symfony to collect address information.

Goldbach Algorithms Address Info Getter (fondly nicknamed AIG) is a PHP library developed for Symfony to collect address information.

Game of life developed in PHP with TDD approach

What is Game of Life: https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life Project structure: Engine is in App\Services\LifeEngine.php Tests are in T

Camdram is an open source project developed by a team of volunteers for the benefit of the Cambridge student theatre community

Camdram is an open source project developed by a team of volunteers for the benefit of the Cambridge student theatre community. We use this repository to host the code that runs Camdram and to co-ordinate our work, however we welcome anyone to contribute bugs and suggest new features.

Web Site developed for the subject of Web Development 2

Trabalho - DW2 Web Site developed for the discipline of Web Development 2. It has been developed to simulate a FIFA World Cup's system where you can C

Music website developed as a final group project for our Webpage Development class.

double-drummer Music listening website developed as final group project for our Webpage Development course. All parts that disclosed any information r

This is a public repository developed to Mooven for test.

How to start First Step: Clone repository to your PC Second Step: Run the command: composer dumpautoload Third Step: IMPORTANT STEP! Now you have to c

Nova Search is an open source search engine developed by the Artado Project.
Nova Search is an open source search engine developed by the Artado Project.

Loli Search Loli Search açık kaynak kodlu bir arama motorudur ve yalnızca kendi sonuçlarını değil, diğer arama motorlarının sonuçlarını da göstermekte

JSONFinder - a library that can find json values in a mixed text or html documents, can filter and search the json tree, and converts php objects to json without 'ext-json' extension.

JSONFinder - a library that can find json values in a mixed text or html documents, can filter and search the json tree, and converts php objects to json without 'ext-json' extension.

Owner
ManuMT
Web Application Development student
ManuMT
Nuber is an open source container management platform it provides a front end to manage your own cloud infrastructure, using Linux Containers virtualization technology

Nuber is an open source container management platform it provides a front end to manage your own cloud infrastructure, using Linux Containers virtualization technology

null 33 Dec 14, 2022
It allows frontend developer to send ajax requests and return a custom information from the server without a php developer help

[Magento 1 Extension] It allows frontend developer to send ajax requests and return a custom information from the server without a php developer help (without any php code).

Vladimir Fishchenko 62 Apr 1, 2022
Simple Form By Using ⇒ PHP - MSQL - AJAX

php-form Simple Form By Using PHP - MYSQL - AJAX Demo: http://php-form.ga/ How To Use Download XAMPP from https://www.apachefriends.org/download.html

Areeb Ghani 1 Oct 23, 2021
Simple Form By Using ⇒ PHP - MSQL - AJAX

php-form-2 Simple Form By Using PHP - MYSQL - AJAX Demo: http://php-form.ga/ How To Use Download XAMPP from https://www.apachefriends.org/download.htm

Areeb Ghani 1 Oct 24, 2021
Proyecto numero 3 de DAW 2, pagina web en Laravel con AJAX incluido

BlazkAdvisor Projecte 03: Guia restaurants Creació d'un lloc web que sigui una guia de restaurants de la nostra ciutat. Hecho por Pol, Juan Carlos y G

null 1 Feb 9, 2022
Laravel & MySQL, jQuery, Ajax, Bootstrap. Also, it's include email send function without any API.

Rewards-Dacor Laravel & MySQL, jQuery, Ajax, Bootstrap. Also, it's include email send function without any API. [Live site link] ( https://rewardsdaco

Professional Developer 13 Dec 26, 2022
html-sanitizer is a library aiming at handling, cleaning and sanitizing HTML sent by external users

html-sanitizer html-sanitizer is a library aiming at handling, cleaning and sanitizing HTML sent by external users (who you cannot trust), allowing yo

Titouan Galopin 381 Dec 12, 2022
Sanitize untrustworthy HTML user input (Symfony integration for https://github.com/tgalopin/html-sanitizer)

html-sanitizer is a library aiming at handling, cleaning and sanitizing HTML sent by external users (who you cannot trust), allowing you to store it and display it safely. It has sensible defaults to provide a great developer experience while still being entierely configurable.

Titouan Galopin 86 Oct 5, 2022
LunarBB is a simple to use, lightweight and accessible Bulletin Board System developed in PHP

LunarBB - Simple Bulletin Board System LunarBB is a simple to use, lightweight and accessible Bulletin Board System developed in PHP. This Webapplicat

Webcodingcafe 2 Feb 7, 2022
Pika is a nosql compatible with redis, it is developed by Qihoo's DBA and infrastructure team

Introduction中文 Pika is a persistent huge storage service , compatible with the vast majority of redis interfaces (details), including string, hash, li

OpenAtomFoundation 4.9k Jan 6, 2023