How starkiller1143/consola-de-jogos-simples works
This repository contains a browser-based memory game with player-name entry, timed matching, and score recording and display, plus a separate Snake game with a leaderboard. Score administration includes clearing the memory-game scores. The excerpts establish the memory-game entry and score-management paths; the game page markup and database schema were not sampled, so some connections are left unverified rather than assumed.
Main entry points: pontuacoes.sql Memory score store · 2.php Score listing · index3.php Name entry · login.js Login handling
Components 11
Memory game
- Name entry
jogo3_memoria/index3.php - Login handling
jogo3_memoria/js/login.js - Game page
jogo3_memoria/pages/game.html - Card matching
jogo3_memoria/js/game.js
Score management
- Score submission
jogo3_memoria/pages/pontuacao.php - Score listing
jogo3_memoria/2.php - Score clearing
jogo3_memoria/pages/apagar.php - Memory score store
jogo3_memoria/pontuacoes.sql
Snake game
- Snake page
jogo3_memoria/cobrinha.php - Snake score store
Other components
- Player
Connections 11
- Player → Name entry: enters name
jogo3_memoria/index3.php - Name entry → Login handling: loads script
jogo3_memoria/index3.php - Login handling → Game page: opens game
jogo3_memoria/js/login.js - Game page → Card matching: runs game
- Card matching → Score submission: submits score
- Score submission → Memory score store: writes score
jogo3_memoria/pages/pontuacao.php - Score listing → Memory score store: reads scores
jogo3_memoria/2.php - Score listing → Score clearing: posts clear request
jogo3_memoria/2.php - Score clearing → Memory score store: deletes scores
jogo3_memoria/pages/apagar.php - Player → Snake page: plays Snake
jogo3_memoria/cobrinha.php - Snake page → Snake score store: reads leaderboard
jogo3_memoria/cobrinha.php