Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
1d7372e
new module for source academy minigame
yk-tuturu Feb 27, 2025
04766d2
formatting code
yk-tuturu Feb 27, 2025
a53f007
forgot to pull
yk-tuturu Feb 27, 2025
1eabde2
raycasting implementedgit status
yk-tuturu Mar 1, 2025
4decbb8
fixing some error in eslint
yk-tuturu Mar 1, 2025
906716a
fixing some error in eslint 2
yk-tuturu Mar 1, 2025
0d4b236
formatted code
yk-tuturu Mar 1, 2025
fd5321d
raycast fix
yk-tuturu Mar 18, 2025
a7630f3
commented and cleaned up code
yk-tuturu Mar 19, 2025
d149702
commenting code
yk-tuturu Mar 19, 2025
aef74d5
updated to command system, includes move, rotate and sensor
yk-tuturu Mar 19, 2025
ae6e98c
formatting fix
yk-tuturu Mar 19, 2025
b532ff4
Add skeletons for required functions
JustATin555 Mar 20, 2025
d799e80
Remove semicolons :(
JustATin555 Mar 20, 2025
0f0ff3f
Update robot-minigame index exports
JustATin555 Mar 20, 2025
e84a02a
commands -> actionLog; rewrote Canvas as React FC
JustATin555 Mar 20, 2025
7000840
Fix animation to use refs instead
JustATin555 Mar 21, 2025
08b896c
Implemented pause/resume/reset for display
JustATin555 Mar 21, 2025
544ded9
Implement all functions in primary function set
JustATin555 Mar 24, 2025
20bd34f
Implement entered_colors(); Fix rotation render; Change create_area()…
JustATin555 Mar 24, 2025
4ae4a4c
Make get_flags() private; Update internal documentation
JustATin555 Mar 24, 2025
43e2f67
Fix entered_colors()
JustATin555 Mar 26, 2025
8c06138
fixed areaEquals, added debug functionality
yk-tuturu Mar 26, 2025
8d8cb20
fixed get_distance not accounting for radius of robot
yk-tuturu Mar 26, 2025
8cac2e8
removed unnecessary imports
yk-tuturu Mar 26, 2025
2f9cb4f
tweaked get_distance and move_forward_to_wall
yk-tuturu Mar 26, 2025
5a5c541
Allow multiple maps (incomplete)
JustATin555 Mar 27, 2025
c63f209
Remove multiple map functionality
JustATin555 Mar 27, 2025
8e2ed88
Lint and tsc
JustATin555 Mar 27, 2025
631fd23
Predeclare tests in prepend, run_tests() in postpend
JustATin555 Mar 31, 2025
3810280
Separate type declarations, run_tests(areaLog, tests) for simulation,…
JustATin555 Mar 31, 2025
5f4639e
Merge branch 'master' into robot-minigame
JustATin555 Apr 1, 2025
702a842
Add sense_obstacle()
JustATin555 Apr 2, 2025
6651e0d
Merge branch 'robot-minigame' of github.com:source-academy/modules in…
JustATin555 Apr 2, 2025
606e823
Add @esbuild/linux-64 dependency
JustATin555 Apr 2, 2025
8568f8e
Remove @esbuild/linux-x64 dev dependency
JustATin555 Apr 2, 2025
6a4154c
Remove scripts/bin.js and add /dist as in #314
JustATin555 Apr 2, 2025
bc0c746
Conform to #121 yarn package manager version
JustATin555 Apr 2, 2025
55b0a66
Upgrade to Yarn 4.8.1 and prune/satisfy dependencies
JustATin555 Apr 3, 2025
15bd67d
Remove .yarnrc
JustATin555 Apr 3, 2025
8861de2
Update workflow to use corepack
JustATin555 Apr 3, 2025
ccd05c0
Replace deprecated option --frozen-lockfile for yarn install with --i…
JustATin555 Apr 3, 2025
6fd2fd9
Add resolution for gl@npm
JustATin555 Apr 3, 2025
30bee1a
Please work
JustATin555 Apr 3, 2025
e9220e8
Resolve gl to ^8.1.6 instead of ^5.0.3 which causes build errors
JustATin555 Apr 3, 2025
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
5 changes: 4 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive

- name: Enable Corepack
run: corepack enable

- name: Use Node.js 💻
uses: actions/setup-node@v4
Expand All @@ -21,7 +24,7 @@ jobs:
cache: yarn

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Build bundles and tabs
run: yarn build --tsc --lint
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,4 @@ export default tseslint.config(
'jest/valid-describe-callback': 'off'
}
}
);
);
5 changes: 5 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@
"Nbody"
]
},
"robot_minigame": {
"tabs": [
"RobotMaze"
]
},
"unittest": {
"tabs": [
"Unittest"
Expand Down
29 changes: 11 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@
},
"devDependencies": {
"@commander-js/extra-typings": "^12.0.0",
"@eslint/js": "^9.23.0",
"@stylistic/eslint-plugin": "^1.7.0",
"@types/dom-mediacapture-record": "^1.0.11",
"@types/estree": "^1.0.0",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.198",
"@types/node": "^20.12.12",
"@types/plotly.js-dist": "npm:@types/plotly.js",
"@types/plotly.js": "^2.35.4",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@types/three": "^0.163.0",
"@typescript-eslint/parser": "^8.29.0",
"@vitejs/plugin-react": "^4.2.1",
"acorn": "^8.8.1",
"acorn-jsx": "^5.3.2",
"astring": "^1.8.6",
"chalk": "^5.0.1",
"commander": "^12.0.0",
Expand All @@ -74,22 +74,21 @@
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^4.4.0",
"globals": "^15.11.0",
"http-server": "^0.12.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.4.1",
"jest-environment-jsdom": "^29.7.0",
"jest-mock": "^29.7.0",
"re-resizable": "^6.9.11",
"sass": "^1.66.1",
"ts-jest": "^29.1.2",
"typedoc": "^0.25.12",
"typescript": "^5.4.3",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.15",
"yarnhook": "^0.5.1"
"vite": "^5.4.15"
},
"dependencies": {
"@blueprintjs/core": "^5.10.2",
Expand All @@ -102,18 +101,14 @@
"@jscad/stl-serializer": "2.1.11",
"ace-builds": "^1.25.1",
"classnames": "^2.3.1",
"dayjs": "^1.10.4",
"events": "^3.3.0",
"gl-matrix": "^3.3.0",
"js-slang": "^1.0.74",
"lodash": "^4.17.21",
"mqtt": "^4.3.7",
"nbody": "^0.1.1",
"os": "^0.1.2",
"patch-package": "^6.5.1",
"phaser": "^3.54.0",
"plotly.js-dist": "^2.17.1",
"postinstall-postinstall": "^2.1.0",
"react": "^18.3.1",
"react-ace": "^10.1.0",
"react-dom": "^18.3.1",
Expand All @@ -123,18 +118,16 @@
"source-academy-utils": "^1.0.0",
"source-academy-wabt": "^1.0.4",
"three": "^0.163.0",
"tslib": "^2.3.1",
"uniqid": "^5.4.0",
"url": "^0.11.3"
"uniqid": "^5.4.0"
},
"resolutions": {
"gl": "^8.1.6"
},
"jest": {
"projects": [
"src/jest.config.js",
"scripts/jest.config.js"
]
},
"resolutions": {
"**/gl": "^8.0.2"
},
"packageManager": "[email protected]+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
"packageManager": "[email protected]"
}
Loading
Loading