From cc6e491af843cd4cb23bc16587f31b82707a6059 Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 17:34:52 +0000 Subject: [PATCH 01/11] add custom map setup --- src/map.ts | 14 ++++++++++++-- src/script.ts | 3 ++- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/map.ts b/src/map.ts index bdc0414..b16f848 100644 --- a/src/map.ts +++ b/src/map.ts @@ -1,7 +1,7 @@ import Vector from './classes/Vector.js'; import Point from './classes/Point.js'; -const map: Vector[] = [ +const circleMap: Vector[] = [ new Vector(new Point(50, 750), new Point(50, 250)), new Vector(new Point(50, 250), new Point(75, 175)), new Vector(new Point(75, 175), new Point(175, 75)), @@ -28,4 +28,14 @@ const map: Vector[] = [ new Vector(new Point(350, 250), new Point(250, 350)), ]; -export default map; +const straightMap: Vector[] = [ + new Vector(new Point(50, 750), new Point(50, 250)), + new Vector(new Point(80, 750), new Point(80, 250)), +]; + +const maps = { + circleMap, + straightMap, +} + +export default maps; diff --git a/src/script.ts b/src/script.ts index a646a3c..a83c02e 100644 --- a/src/script.ts +++ b/src/script.ts @@ -3,7 +3,7 @@ import Car from './classes/Vehicle.js'; import Visualizer from './classes/Visualizer.js'; import Point from './classes/Point.js'; import VectorLib from './classes/VectorLib.js'; -import map from './map.js'; +import maps from './maps.js'; function delay(ms: number): Promise { return new Promise((resolve, reject) => { @@ -39,6 +39,7 @@ function delay(ms: number): Promise { async function main(): Promise { + const map = maps.straightMap; const targetFrameDuration = 32; let frameStartTime; From 88f2d0fb04157890a3987f025513080a85c7a30f Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 17:45:59 +0000 Subject: [PATCH 02/11] update action version --- .github/workflows/chatgpt-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index 2a7077b..2eec024 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Chat GPT auto review - uses: JavaRip/gpt-code-review@v0.24 + uses: JavaRip/gpt-code-review@v0.25 with: # Add required inputs for the JavaRip/gpt-code-review a31Gction here # For example, if it requires a GitHub token, you can pass it like this: From 2356c00ef882c6d9ac5500f05ca6a439f51ad2b5 Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 18:20:01 +0000 Subject: [PATCH 03/11] v bump --- .github/workflows/chatgpt-code-review.yml | 2 +- src/map.ts | 9 +++++++-- src/script.ts | 2 +- static/default.css | 5 +++++ static/map.js | 12 ++++++++++-- static/map.js.map | 2 +- static/script.js | 9 +++++---- static/script.js.map | 2 +- 8 files changed, 31 insertions(+), 12 deletions(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index 2eec024..020213e 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Chat GPT auto review - uses: JavaRip/gpt-code-review@v0.25 + uses: JavaRip/gpt-code-review@v0.26 with: # Add required inputs for the JavaRip/gpt-code-review a31Gction here # For example, if it requires a GitHub token, you can pass it like this: diff --git a/src/map.ts b/src/map.ts index b16f848..6cca172 100644 --- a/src/map.ts +++ b/src/map.ts @@ -1,6 +1,11 @@ import Vector from './classes/Vector.js'; import Point from './classes/Point.js'; +interface mapsExport { + straightMap: Vector[], + circleMap: Vector[], +} + const circleMap: Vector[] = [ new Vector(new Point(50, 750), new Point(50, 250)), new Vector(new Point(50, 250), new Point(75, 175)), @@ -33,9 +38,9 @@ const straightMap: Vector[] = [ new Vector(new Point(80, 750), new Point(80, 250)), ]; -const maps = { +const maps: mapsExport = { circleMap, straightMap, -} +}; export default maps; diff --git a/src/script.ts b/src/script.ts index a83c02e..9d46a4a 100644 --- a/src/script.ts +++ b/src/script.ts @@ -3,7 +3,7 @@ import Car from './classes/Vehicle.js'; import Visualizer from './classes/Visualizer.js'; import Point from './classes/Point.js'; import VectorLib from './classes/VectorLib.js'; -import maps from './maps.js'; +import maps from './map.js'; function delay(ms: number): Promise { return new Promise((resolve, reject) => { diff --git a/static/default.css b/static/default.css index 5993ce2..6d3ffb5 100644 --- a/static/default.css +++ b/static/default.css @@ -7,3 +7,8 @@ canvas { width: 40em; border: 1px solid black } + +button { + width: 10rem; + height: 5rem; +} \ No newline at end of file diff --git a/static/map.js b/static/map.js index 4a59301..1ba53cd 100644 --- a/static/map.js +++ b/static/map.js @@ -1,6 +1,6 @@ import Vector from './classes/Vector.js'; import Point from './classes/Point.js'; -const map = [ +const circleMap = [ new Vector(new Point(50, 750), new Point(50, 250)), new Vector(new Point(50, 250), new Point(75, 175)), new Vector(new Point(75, 175), new Point(175, 75)), @@ -26,5 +26,13 @@ const map = [ new Vector(new Point(650, 250), new Point(350, 250)), new Vector(new Point(350, 250), new Point(250, 350)), ]; -export default map; +const straightMap = [ + new Vector(new Point(50, 750), new Point(50, 250)), + new Vector(new Point(80, 750), new Point(80, 250)), +]; +const maps = { + circleMap, + straightMap, +}; +export default maps; //# sourceMappingURL=map.js.map \ No newline at end of file diff --git a/static/map.js.map b/static/map.js.map index 20f2fea..9a5ca36 100644 --- a/static/map.js.map +++ b/static/map.js.map @@ -1 +1 @@ -{"version":3,"file":"map.js","sourceRoot":"","sources":["../src/map.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,KAAK,MAAM,oBAAoB,CAAC;AAEvC,MAAM,GAAG,GAAa;IACpB,IAAI,MAAM,CAAC,IAAI,KAAK,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,IAAI,KAAK,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;IAClD,IAAI,MAAM,CAAC,IAAI,KAAK,CAAC,EAAE,EAAE,GAAG,CAAC,EAAE,IAAI,KAAK,CAAC,EAAE,EAAE,GAAG,CAAC,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f0b2a..1cb5895 100644 --- a/static/script.js +++ b/static/script.js @@ -3,7 +3,7 @@ import Car from './classes/Vehicle.js'; import Visualizer from './classes/Visualizer.js'; import Point from './classes/Point.js'; import VectorLib from './classes/VectorLib.js'; -import map from './map.js'; +import maps from './map.js'; function delay(ms) { return new Promise((resolve, reject) => { const timeoutId = setTimeout(resolve, ms); @@ -12,9 +12,9 @@ function delay(ms) { }); } // TODO add resetCar method to Car class -function resetCarState() { - return new Car({ x: 250, y: 150 }, 0, 0); -} +// function resetCarState() { +// return new Car({ x: 250, y: 150 }, 0, 0); +// } // // TODO create supervisedAi class // async function submitGameState(sensorWallIntersects: intersect[], inputs: controlstate) { // const data: trainingrow = { @@ -33,6 +33,7 @@ function resetCarState() { // } // } async function main() { + const map = maps.straightMap; const targetFrameDuration = 32; let frameStartTime; const car = new Car(new Point(250, 150), 0, 0); diff --git a/static/script.js.map b/static/script.js.map index 85ad30a..2b73844 100644 --- a/static/script.js.map +++ b/static/script.js.map @@ -1 +1 @@ -{"version":3,"file":"script.js","sourceRoot":"","sources":["../src/script.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,GAAG,MAAM,sBAAsB,CAAC;AACvC,OAAO,UAAU,MAAM,yBAAyB,CAAC;AACjD,OAAO,KAAK,MAAM,oBAAoB,CAAC;AACvC,OAAO,SAAwB,MAAM,wBAAwB,CAAC;AAC9D,OAAO,GAAG,MAAM,UAAU,CAAC;AAE3B,SAAS,KAAK,CAAC,EAAU;IACvB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACrC,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QAC1C,IAAI,CAAC,SAAS;YAAE,MAAM,CAAC,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACL,CAAC;AAED,wCAAwC;AACxC,SAAS,aAAa;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AAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC;QAC7E,UAAU,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;QAClE,UAAU,CAAC,eAAe,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;QAChE,UAAU,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAErD,qEAAqE;QACrE,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC;QACrC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACjB,MAAM,aAAa,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,cAAc,CAAC;QAElD,IAAI,WAAW,CAAC;QAChB,IAAI,mBAAmB,GAAG,aAAa,GAAG,CAAC,EAAE;YAC3C,WAAW,GAAG,mBAAmB,GAAG,aAAa,CAAC;SACnD;aAAM;YACL,WAAW,GAAG,CAAC,CAAC;SACjB;QACD,MAAM,KAAK,CAAC,WAAW,CAAC,CAAC;QAEzB,UAAU,CAAC,cAAc,EAAE,CAAC;KAC7B;AACH,CAAC;AAED,MAAM,IAAI,EAAE,CAAC"} \ No newline at end of file From 0126c88bc6f313cd12936162eba7b231eddb2a54 Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 18:24:42 +0000 Subject: [PATCH 04/11] v bump --- .github/workflows/chatgpt-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index 020213e..a53a05e 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -17,7 +17,7 @@ jobs: - name: Chat GPT auto review uses: JavaRip/gpt-code-review@v0.26 with: - # Add required inputs for the JavaRip/gpt-code-review a31Gction here + # Add required inputs for the JavaRip/gpt-code-review action here # For example, if it requires a GitHub token, you can pass it like this: # github-token: ${{ secrets.GITHUB_TOKEN }} # Replace 'github-token' with the actual input name the action expects From fccf4538305bfa8410e25c027101f4691afdd0d0 Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 18:29:45 +0000 Subject: [PATCH 05/11] v bump --- .github/workflows/chatgpt-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index a53a05e..3285d31 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Chat GPT auto review - uses: JavaRip/gpt-code-review@v0.26 + uses: JavaRip/gpt-code-review@v0.27 with: # Add required inputs for the JavaRip/gpt-code-review action here # For example, if it requires a GitHub token, you can pass it like this: From f3821d90bc5cbbaa9531d571fbc9dd7333b8c89e Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 18:32:51 +0000 Subject: [PATCH 06/11] v bump --- .github/workflows/chatgpt-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index 3285d31..3393048 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Chat GPT auto review - uses: JavaRip/gpt-code-review@v0.27 + uses: JavaRip/gpt-code-review@v0.28 with: # Add required inputs for the JavaRip/gpt-code-review action here # For example, if it requires a GitHub token, you can pass it like this: From cfc88b191128fce55c21cf795592743d1e6165d6 Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 18:37:01 +0000 Subject: [PATCH 07/11] v bump --- .github/workflows/chatgpt-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index 3393048..d871169 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Chat GPT auto review - uses: JavaRip/gpt-code-review@v0.28 + uses: JavaRip/gpt-code-review@v0.29 with: # Add required inputs for the JavaRip/gpt-code-review action here # For example, if it requires a GitHub token, you can pass it like this: From be9e6a1e1b29666e44cd3dcf195f182397dad135 Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 18:39:46 +0000 Subject: [PATCH 08/11] v bump --- .github/workflows/chatgpt-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index d871169..166dd54 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Chat GPT auto review - uses: JavaRip/gpt-code-review@v0.29 + uses: JavaRip/gpt-code-review@v0.30 with: # Add required inputs for the JavaRip/gpt-code-review action here # For example, if it requires a GitHub token, you can pass it like this: From 0d366d2cb132852d92caa8512cc42e61e725d12d Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 18:41:20 +0000 Subject: [PATCH 09/11] revert to working version --- .github/workflows/chatgpt-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index 166dd54..e1140c8 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Chat GPT auto review - uses: JavaRip/gpt-code-review@v0.30 + uses: JavaRip/gpt-code-review@v0.25 with: # Add required inputs for the JavaRip/gpt-code-review action here # For example, if it requires a GitHub token, you can pass it like this: From 52a23fc54fa8436042e0fd78158a7d4b5543373a Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 18:48:28 +0000 Subject: [PATCH 10/11] v bump --- .github/workflows/chatgpt-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index e1140c8..2e052e0 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Chat GPT auto review - uses: JavaRip/gpt-code-review@v0.25 + uses: JavaRip/gpt-code-review@v0.31 with: # Add required inputs for the JavaRip/gpt-code-review action here # For example, if it requires a GitHub token, you can pass it like this: From f733d0146b51da87e9ac07fae8df78fabda36255 Mon Sep 17 00:00:00 2001 From: JavaRip Date: Sat, 18 Nov 2023 18:56:28 +0000 Subject: [PATCH 11/11] v bump --- .github/workflows/chatgpt-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/chatgpt-code-review.yml b/.github/workflows/chatgpt-code-review.yml index 2e052e0..7873290 100644 --- a/.github/workflows/chatgpt-code-review.yml +++ b/.github/workflows/chatgpt-code-review.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Chat GPT auto review - uses: JavaRip/gpt-code-review@v0.31 + uses: JavaRip/gpt-code-review@v0.32 with: # Add required inputs for the JavaRip/gpt-code-review action here # For example, if it requires a GitHub token, you can pass it like this: