Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 0 additions & 113 deletions app/games/Game.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions app/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import { type RouteConfig, index, route } from "@react-router/dev/routes";

export default [
index("routes/Home.tsx"),
route("pythonFlappyBird", "games/PythonFlappyBird.tsx"),
route("/games/pythonFlappyBird", "games/flappy-bird-py/PythonFlappyBird.tsx"),
route("/games/pokemon", "games/pokemon/PokemonBattleAI.tsx"),
route("/games/physics", "games/Game.tsx"),
route("/games/pong-game-js", "games/pong-game-js/page.tsx"),
route("/games/flappy-bird-js", "games/flappy-bird-js/componentes/Page.tsx")
] satisfies RouteConfig;
9 changes: 1 addition & 8 deletions app/routes/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,14 @@ const games: GameLink[] = [
name: "Flappy Bird AI",
description: "Uma IA em Python que aprende a jogar Flappy Bird sozinha!",
image: "/PythonFlappyBird/FlappyBirdIcon.png",
url: "/pythonFlappyBird",
url: "/games/pythonFlappyBird",
},
{
name: "Pokemon Battle AI",
description: "Monte seu time e enfrente uma IA que evolui suas estratégias!",
image: "/Pokemon/PokemonIcon.svg",
url: "/games/pokemon",
},
{
name: "Physics Sandbox",
description: "Experimente a física com bolas e colisões!",
image: "",
icon: "🌟",
url: "/games/physics",
},
{
name: "Pong AI",
description: "Jogue Pong contra uma IA desafiadora!",
Expand Down
86 changes: 73 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-lowlight": "^3.1.0",
"react-router": "^7.7.1"
"react-router": "^7.9.5",
"react-router-dom": "^7.9.5"
},
"devDependencies": {
"@react-router/dev": "^7.7.1",
Expand Down
Loading