Skip to content

Commit 991b034

Browse files
committed
built game
1 parent a1b9147 commit 991b034

154 files changed

Lines changed: 3892 additions & 8240 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/workspace/.DS_Store

6 KB
Binary file not shown.

app/workspace/.gitignore

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +0,0 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.*
7-
.yarn/*
8-
!.yarn/patches
9-
!.yarn/plugins
10-
!.yarn/releases
11-
!.yarn/versions
12-
13-
# testing
14-
/coverage
15-
16-
# next.js
17-
/.next/
18-
/out/
19-
20-
# production
21-
/build
22-
23-
# misc
24-
.DS_Store
25-
*.pem
26-
27-
# debug
28-
npm-debug.log*
29-
yarn-debug.log*
30-
yarn-error.log*
31-
.pnpm-debug.log*
32-
33-
# env files (can opt-in for committing if needed)
34-
.env*
35-
36-
# vercel
37-
.vercel
38-
39-
# typescript
40-
*.tsbuildinfo
41-
next-env.d.ts

app/workspace/.next/BUILD_ID

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eWgmRPa3CRVkGQPoTWF-0
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"pages": {
3+
"/_not-found/page": [
4+
"static/chunks/webpack-f9ca48068a4363a9.js",
5+
"static/chunks/4bd1b696-cf72ae8a39fa05aa.js",
6+
"static/chunks/964-7a34cadcb7695cec.js",
7+
"static/chunks/main-app-bcdb22bb540ec82b.js",
8+
"static/chunks/app/_not-found/page-fc6c7ed7dabb25b2.js"
9+
],
10+
"/api/createRoom/route": [
11+
"static/chunks/webpack-f9ca48068a4363a9.js",
12+
"static/chunks/4bd1b696-cf72ae8a39fa05aa.js",
13+
"static/chunks/964-7a34cadcb7695cec.js",
14+
"static/chunks/main-app-bcdb22bb540ec82b.js",
15+
"static/chunks/app/api/createRoom/route-8617778e221161b3.js"
16+
],
17+
"/api/get-room/route": [
18+
"static/chunks/webpack-f9ca48068a4363a9.js",
19+
"static/chunks/4bd1b696-cf72ae8a39fa05aa.js",
20+
"static/chunks/964-7a34cadcb7695cec.js",
21+
"static/chunks/main-app-bcdb22bb540ec82b.js",
22+
"static/chunks/app/api/get-room/route-8617778e221161b3.js"
23+
],
24+
"/layout": [
25+
"static/chunks/webpack-f9ca48068a4363a9.js",
26+
"static/chunks/4bd1b696-cf72ae8a39fa05aa.js",
27+
"static/chunks/964-7a34cadcb7695cec.js",
28+
"static/chunks/main-app-bcdb22bb540ec82b.js",
29+
"static/css/141893c07fcb9269.css",
30+
"static/chunks/app/layout-65730883ca394790.js"
31+
],
32+
"/api/getRoom/route": [
33+
"static/chunks/webpack-f9ca48068a4363a9.js",
34+
"static/chunks/4bd1b696-cf72ae8a39fa05aa.js",
35+
"static/chunks/964-7a34cadcb7695cec.js",
36+
"static/chunks/main-app-bcdb22bb540ec82b.js",
37+
"static/chunks/app/api/getRoom/route-8617778e221161b3.js"
38+
],
39+
"/api/send-winner/route": [
40+
"static/chunks/webpack-f9ca48068a4363a9.js",
41+
"static/chunks/4bd1b696-cf72ae8a39fa05aa.js",
42+
"static/chunks/964-7a34cadcb7695cec.js",
43+
"static/chunks/main-app-bcdb22bb540ec82b.js",
44+
"static/chunks/app/api/send-winner/route-8617778e221161b3.js"
45+
],
46+
"/page": [
47+
"static/chunks/webpack-f9ca48068a4363a9.js",
48+
"static/chunks/4bd1b696-cf72ae8a39fa05aa.js",
49+
"static/chunks/964-7a34cadcb7695cec.js",
50+
"static/chunks/main-app-bcdb22bb540ec82b.js",
51+
"static/chunks/572-ddb2e9b7f212cfb1.js",
52+
"static/chunks/app/page-73ab523290f28de5.js"
53+
]
54+
}
55+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"/api/createRoom/route": "/api/createRoom",
3+
"/api/get-room/route": "/api/get-room",
4+
"/_not-found/page": "/_not-found",
5+
"/api/getRoom/route": "/api/getRoom",
6+
"/favicon.ico/route": "/favicon.ico",
7+
"/api/send-winner/route": "/api/send-winner",
8+
"/page": "/"
9+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"polyfillFiles": [
3+
"static/chunks/polyfills-42372ed130431b0a.js"
4+
],
5+
"devFiles": [],
6+
"ampDevFiles": [],
7+
"lowPriorityFiles": [
8+
"static/eWgmRPa3CRVkGQPoTWF-0/_buildManifest.js",
9+
"static/eWgmRPa3CRVkGQPoTWF-0/_ssgManifest.js"
10+
],
11+
"rootMainFiles": [
12+
"static/chunks/webpack-f9ca48068a4363a9.js",
13+
"static/chunks/4bd1b696-cf72ae8a39fa05aa.js",
14+
"static/chunks/964-7a34cadcb7695cec.js",
15+
"static/chunks/main-app-bcdb22bb540ec82b.js"
16+
],
17+
"rootMainFilesTree": {},
18+
"pages": {
19+
"/_app": [
20+
"static/chunks/webpack-f9ca48068a4363a9.js",
21+
"static/chunks/framework-7c95b8e5103c9e90.js",
22+
"static/chunks/main-ba974c396c7b6a55.js",
23+
"static/chunks/pages/_app-0a0020ddd67f79cf.js"
24+
],
25+
"/_error": [
26+
"static/chunks/webpack-f9ca48068a4363a9.js",
27+
"static/chunks/framework-7c95b8e5103c9e90.js",
28+
"static/chunks/main-ba974c396c7b6a55.js",
29+
"static/chunks/pages/_error-03529f2c21436739.js"
30+
]
31+
},
32+
"ampFirstPages": []
33+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"previewModeId":"a58fdca878eba12f1662b9c0b898423d","previewModeSigningKey":"b860a46655eb15aed7baec0f9496b73e9e83944c1443f7b11be949634d8157dc","previewModeEncryptionKey":"00bdc607b430d6a66b921ca3662e33ed3ce65625306b725878317a58d86e397e","expireAt":1756825591101}

app/workspace/.next/cache/.rscinfo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"encryption.key":"AvKhygfomlfv4OJ2E8R0cNU6gEP3eJQTktoLcyXbkK0=","encryption.expire_at":1756825591007}

app/workspace/.next/cache/.tsbuildinfo

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/api/createRoom/route.ts":"1","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/api/get-room/route.ts":"2","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/api/getRoom/route.ts":"3","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/api/send-winner/route.ts":"4","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/components/CarSelection.tsx":"5","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/components/MainMenu.tsx":"6","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/components/RaceHUD.tsx":"7","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/hooks/useRaceGame.ts":"8","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/layout.tsx":"9","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/page.tsx":"10","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/types/index.ts":"11","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/pages/api/socket.ts":"12","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/lib/models/Room.ts":"13","/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/lib/mongodb.ts":"14"},{"size":1895,"mtime":1755499761272,"results":"15","hashOfConfig":"16"},{"size":1151,"mtime":1755499761273,"results":"17","hashOfConfig":"16"},{"size":1151,"mtime":1755499761273,"results":"18","hashOfConfig":"16"},{"size":2463,"mtime":1755499761274,"results":"19","hashOfConfig":"16"},{"size":11884,"mtime":1755615989009,"results":"20","hashOfConfig":"16"},{"size":6079,"mtime":1755615989008,"results":"21","hashOfConfig":"16"},{"size":6969,"mtime":1755615989009,"results":"22","hashOfConfig":"16"},{"size":4656,"mtime":1755615989008,"results":"23","hashOfConfig":"16"},{"size":662,"mtime":1755261426716,"results":"24","hashOfConfig":"16"},{"size":18627,"mtime":1755616934594,"results":"25","hashOfConfig":"16"},{"size":2147,"mtime":1755616018165,"results":"26","hashOfConfig":"16"},{"size":1756,"mtime":1755492099040,"results":"27","hashOfConfig":"16"},{"size":889,"mtime":1755261426719,"results":"28","hashOfConfig":"16"},{"size":842,"mtime":1755263146653,"results":"29","hashOfConfig":"16"},{"filePath":"30","messages":"31","suppressedMessages":"32","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1o0ejjv",{"filePath":"33","messages":"34","suppressedMessages":"35","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","suppressedMessages":"38","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"39","messages":"40","suppressedMessages":"41","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"42","messages":"43","suppressedMessages":"44","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"45","messages":"46","suppressedMessages":"47","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","suppressedMessages":"50","errorCount":0,"fatalErrorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"51","messages":"52","suppressedMessages":"53","errorCount":0,"fatalErrorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"54","messages":"55","suppressedMessages":"56","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"57","messages":"58","suppressedMessages":"59","errorCount":0,"fatalErrorCount":0,"warningCount":6,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"60","messages":"61","suppressedMessages":"62","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"63","messages":"64","suppressedMessages":"65","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"66","messages":"67","suppressedMessages":"68","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"69","messages":"70","suppressedMessages":"71","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/api/createRoom/route.ts",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/api/get-room/route.ts",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/api/getRoom/route.ts",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/api/send-winner/route.ts",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/components/CarSelection.tsx",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/components/MainMenu.tsx",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/components/RaceHUD.tsx",["72"],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/hooks/useRaceGame.ts",["73","74"],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/layout.tsx",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/page.tsx",["75","76","77","78","79","80"],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/app/types/index.ts",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/pages/api/socket.ts",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/lib/models/Room.ts",[],[],"/Users/lahiruprabhath/Desktop/GameOnAI/backend/GameOnAI/app/workspace/lib/mongodb.ts",[],[],{"ruleId":"81","severity":1,"message":"82","line":166,"column":15,"nodeType":"83","endLine":170,"endColumn":17},{"ruleId":"84","severity":1,"message":"85","line":4,"column":15,"nodeType":null,"messageId":"86","endLine":4,"endColumn":21},{"ruleId":"84","severity":1,"message":"87","line":4,"column":23,"nodeType":null,"messageId":"86","endLine":4,"endColumn":31},{"ruleId":"84","severity":1,"message":"88","line":33,"column":5,"nodeType":null,"messageId":"86","endLine":33,"endColumn":15},{"ruleId":"84","severity":1,"message":"89","line":43,"column":10,"nodeType":null,"messageId":"86","endLine":43,"endColumn":14},{"ruleId":"90","severity":1,"message":"91","line":73,"column":6,"nodeType":"92","endLine":73,"endColumn":35,"suggestions":"93"},{"ruleId":"90","severity":1,"message":"94","line":151,"column":6,"nodeType":"92","endLine":151,"endColumn":45,"suggestions":"95"},{"ruleId":"84","severity":1,"message":"96","line":245,"column":9,"nodeType":null,"messageId":"86","endLine":245,"endColumn":26},{"ruleId":"90","severity":1,"message":"97","line":424,"column":6,"nodeType":"92","endLine":424,"endColumn":61,"suggestions":"98"},"@next/next/no-img-element","Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element","JSXOpeningElement","@typescript-eslint/no-unused-vars","'Player' is defined but never used.","unusedVar","'RaceRoom' is defined but never used.","'raceTracks' is assigned a value but never used.","'room' is assigned a value but never used.","react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'initializeMultiplayerGame' and 'setGameMode'. Either include them or remove the dependency array.","ArrayExpression",["99"],"React Hook useEffect has missing dependencies: 'completeLap', 'initializeMultiplayerGame', 'opponent', 'startRace', and 'updatePositions'. Either include them or remove the dependency array.",["100"],"'handleLapComplete' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'handlePositionUpdate'. Either include it or remove the dependency array.",["101"],{"desc":"102","fix":"103"},{"desc":"104","fix":"105"},{"desc":"106","fix":"107"},"Update the dependencies array to be: [gameSessionUuid, initializeMultiplayerGame, playerUuid, setGameMode]",{"range":"108","text":"109"},"Update the dependencies array to be: [completeLap, gameMode, gameSessionUuid, initializeMultiplayerGame, opponent, playerUuid, startRace, updatePositions]",{"range":"110","text":"111"},"Update the dependencies array to be: [currentScreen, raceStarted, gameOver, speed, position, handlePositionUpdate]",{"range":"112","text":"113"},[2307,2336],"[gameSessionUuid, initializeMultiplayerGame, playerUuid, setGameMode]",[4486,4525],"[completeLap, gameMode, gameSessionUuid, initializeMultiplayerGame, opponent, playerUuid, startRace, updatePositions]",[11613,11668],"[currentScreen, raceStarted, gameOver, speed, position, handlePositionUpdate]"]

0 commit comments

Comments
 (0)