PHP Classes

PHP Game Geolocation: Game to add locations of crimes to a map

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-12-21 (9 months ago) RSS 2.0 feedNot enough user ratingsTotal: 59 All time: 10,514 This week: 84Up
Version License PHP version Categories
game-geolocalizacao 1.0.0MIT/X Consortium ...5PHP 5, Games, Web services, Geography, A..., G...
Description 

Author

This package implements a game to add locations of crimes to a map.

It uses Google Maps API to present a region map using geolocation support to determine the current user location and sets the map center to that location.

The game pulls a list of locations where crimes were committed and adds markers to the map.

The users can click on the right mouse button to add new markers to the map to report recent locations where crimes are being committed.

The new crime locations are saved to a database on the server side.

The users can also click on a marker to know more about the crime committed in that location or remove that marker.

In Portuguese:

Um game que usa geolocalização, pode ser usado para adicionar locais de crime ou pontos de interesse, uma variação dele foi usada para adicionar os pontos de mosquitos da dengue.

Innovation Award
PHP Programming Innovation award nominee
December 2023
Number 7
Knowing where certain crimes are being committed is helpful for the police to act quickly to avoid more significant damage to the people affected by those crimes.

Allowing the general population of a region to report those crimes helps the police fight those crimes.

This package implements a game that uses Google Maps to let users report crimes committed in a region where they are located. It allows users to add markers to the map to add more details about the crimes being committed.

Manuel Lemos
Picture of Rodrigo Faustino
  Performance   Level  
Name: Rodrigo Faustino <contact>
Classes: 27 packages by
Country: Brazil Brazil
Age: 41
All time rank: 2506173 in Brazil Brazil
Week rank: 1 Up
Innovation award
Innovation award
Nominee: 17x

Winner: 2x

Documentation

game geo

um game que usa geolocalização, pode ser usado para adicionar locais de crime ou pontos de interesse, uma variação dele foi usada para adicionar os pontos de mosquitos da dengue um outro sistema baseado nesse muito legal esta em https://emprego.rodrigofaustino.com.br/ onde pode-se cadastrar clientes e os prestadores de serviços vão ao local, marcam que estão fazendo o serviço e depois o administrador pode ver o tempo ou trajetoria do prestador após ele finalizar o serviço.

funcionalidade

qo andar no mapa é gerado monstros aleatoriamente no mapa do mundo real, o jogador clica duas vezes no monstro e poderá guardar como uma prisão.

customização

pode ser usado para indicar locais de crimes, ou locais de preferencia que poderá ser usado por outros para saber o que aconteceu naquele ponto.


  Files folder image Files (66)  
File Role Description
Files folder imageicons (12 files)
Files folder imagejs (9 files)
Files folder imagex (18 files, 2 directories)
Accessible without login Image file bom.gif Icon Icon image
Accessible without login Plain text file captura.php Appl. Application script
Accessible without login Plain text file index.php Appl. Application script
Accessible without login Plain text file infobox.js Data Auxiliary data
Accessible without login Plain text file map_process.php Appl. Application script
Accessible without login Plain text file markerclusterer.js Data Auxiliary data
Accessible without login Plain text file mysql_table.txt Data MySQL database table creation SQL
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (66)  /  icons  
File Role Description
  Accessible without login Image file carro.png Icon Icon image
  Accessible without login Image file furt.png Icon Icon image
  Accessible without login Image file furtx.png Icon Icon image
  Accessible without login Image file homi.png Icon Icon image
  Accessible without login Image file maria.gif Icon Icon image
  Accessible without login Image file money.png Icon Icon image
  Accessible without login Image file moto.png Icon Icon image
  Accessible without login Image file odio.gif Icon Icon image
  Accessible without login Image file pin.png Icon Icon image
  Accessible without login Image file religiao.gif Icon Icon image
  Accessible without login Image file roub.png Icon Icon image
  Accessible without login Image file tonto.gif Icon Icon image

  Files folder image Files (66)  /  js  
File Role Description
  Accessible without login Plain text file 10-1.js Data Auxiliary data
  Accessible without login Plain text file 10-4.js Data Auxiliary data
  Accessible without login Plain text file jquery-1.10.2.min.js Data Auxiliary data
  Accessible without login Plain text file jquery-1.10.2.min.map Data Auxiliary data
  Accessible without login Plain text file markerclusterer.js Data Auxiliary data
  Accessible without login Plain text file markerclusterer_compiled.js Data Auxiliary data
  Accessible without login Plain text file markerclusterer_packed.js Data Auxiliary data
  Accessible without login Plain text file markermanager.js Data Auxiliary data
  Accessible without login Plain text file markermanager_packed.js Data Auxiliary data

  Files folder image Files (66)  /  x  
File Role Description
Files folder imageicons (10 files)
Files folder imagejs (9 files)
  Accessible without login Image file 1098.gif Icon Icon image
  Accessible without login Image file bg.png Icon Icon image
  Accessible without login Plain text file config.php Aux. Auxiliary script
  Accessible without login Plain text file co_br.js Data Auxiliary data
  Accessible without login Plain text file co_br.php Example Example script
  Accessible without login Plain text file crime.js Data Auxiliary data
  Accessible without login Plain text file estilo.css Data Auxiliary data
  Accessible without login Plain text file funcoes.php Aux. Auxiliary script
  Accessible without login Plain text file google_map.js Data Auxiliary data
  Accessible without login Plain text file init.php Aux. Auxiliary script
  Accessible without login Plain text file jquery-ui.custom.min.js Data Auxiliary data
  Accessible without login Plain text file jquery.min.js Data Auxiliary data
  Accessible without login Plain text file log_20140810.txt Doc. Documentation
  Accessible without login Plain text file log_20140811.txt Doc. Documentation
  Accessible without login Plain text file log_20150806.txt Doc. Documentation
  Accessible without login Plain text file mapa.js Data Auxiliary data
  Accessible without login Plain text file map_sp.php Example Example script
  Accessible without login Plain text file readme.txt Doc. Documentation

  Files folder image Files (66)  /  x  /  icons  
File Role Description
  Accessible without login Image file 1098.gif Icon Icon image
  Accessible without login Image file 8.gif Icon Icon image
  Accessible without login Image file carro.png Icon Icon image
  Accessible without login Image file furt.png Icon Icon image
  Accessible without login Image file furtx.png Icon Icon image
  Accessible without login Image file homi.png Icon Icon image
  Accessible without login Image file money.png Icon Icon image
  Accessible without login Image file moto.png Icon Icon image
  Accessible without login Image file ou.png Icon Icon image
  Accessible without login Image file roub.png Icon Icon image

  Files folder image Files (66)  /  x  /  js  
File Role Description
  Accessible without login Plain text file 10-1.js Data Auxiliary data
  Accessible without login Plain text file 10-4.js Data Auxiliary data
  Accessible without login Plain text file jquery-1.10.2.min.js Data Auxiliary data
  Accessible without login Plain text file jquery-1.10.2.min.map Data Auxiliary data
  Accessible without login Plain text file markerclusterer.js Data Auxiliary data
  Accessible without login Plain text file markerclusterer_compiled.js Data Auxiliary data
  Accessible without login Plain text file markerclusterer_packed.js Data Auxiliary data
  Accessible without login Plain text file markermanager.js Data Auxiliary data
  Accessible without login Plain text file markermanager_packed.js Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:59
This week:0
All time:10,514
This week:84Up