A playable tic-tac-toe game developed with HTML, AJAX, PHP and BladeOne technology

Overview

tic-tac-toe

Escribe un programa PHP que implemente el juego del tres en raya. La aplicación creará una cuadrícula en la que el jugador podrá introducir su jugada y enviarla al servidor. El servidor comprobará si la partida ha terminado y en caso contrario realizará su propia jugada. En el caso más sencillo el servidor anotará su jugada en la siguiente casilla libre de la cuadrícula. Si la aplicación detecta que la partida ha finalizado informará al jugador del resultado y el ganador de la misma. Implementa el programa anterior utilizando la tecnología de comunicación asíncrona (AJAX) entre el cliente y el servidor de manera que el script en el navegador envíe la posición de la casilla marcada por el usuario y el servidor responda con la nueva configuración del tablero sin requerir la carga de la nueva página, a no ser que la partida haya llegado a su fin.

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...
The game is implemented as an example of scalable and high load architecture combined with modern software development practices
The game is implemented as an example of scalable and high load architecture combined with modern software development practices

Crossword game The game is implemented as an example of scalable and high load architecture combined with modern software development practices Exampl

Rules to detect game engines and other technologies based on Steam depot file lists

SteamDB File Detection Rule Sets This is a set of scripts that are used by SteamDB to make educated guesses about the engine(s) & technology used to b

A web app for the resolution of a mobile game in wich you have 4 images and a list of letters, then a few boxes to fill with the word connecting the four images.

4images_1mot_solutions A web app for the resolution of a mobile game in wich you have 4 images and a list of letters, then a few boxes to fill with th

An extremely customizable BuildBattle mini-game designed for scalability and simplicity.
An extremely customizable BuildBattle mini-game designed for scalability and simplicity.

BuildBattle An extremely customizable BuildBattle mini-game designed for scalability and simplicity. Features Customisable messages and scoreboard Mul

Simple game server with php without socket programming. Uses the Api request post(json).

QMA server Simple game server with php without socket programming. Uses the Api request post(json). What does this code do? Register the user as a gue

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

Moodle plugin to limit the access to course content according to the user level in Block Game.

Moodle plugin to limit the access to course content according to the user level in Block Game.

A useful PocketMine-MP plugin that allows you to create crates in-game!

ComplexCrates A useful PocketMine-MP plugin that allows you to create crates in-game! Commands Main command: /crate Sub commands: create

Game Boy Camera Wifi Photo Extractor
Game Boy Camera Wifi Photo Extractor

Game Boy Camera Fast Wifi Adapter Plug in your Game Boy Camera, turn it on, and you can have the photos on your phone in under 2 minutes! Why I Made I

Owner
ManuMT
Web Application Development student
ManuMT
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

Marcella Malune 4 Nov 8, 2021
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
A console noughts and crosses game written in php

Tic-tac-toe A console noughts and crosses game written in php To play, simply clone the file Navigate to the file directory on your terminal and run t

Etorojah Okon 1 Oct 13, 2021