feat: add train driving system with 3D model and controls #1

Open
steve-admin wants to merge 5 commits from feat/train-driving into main
Owner
  • Added Train and TrainController classes in train.js
  • Created TrainRenderer for Three.js visualization
  • Integrated train controls into game.js
  • Updated index.html with train UI controls
  • Added train control styles to css/styles.css
  • Created test file for train module
  • Train can accelerate, brake, reverse and stop
  • Keyboard controls: W/↑ accelerate, S/↓ brake, R/D reverse, SPACE stop
- Added Train and TrainController classes in train.js - Created TrainRenderer for Three.js visualization - Integrated train controls into game.js - Updated index.html with train UI controls - Added train control styles to css/styles.css - Created test file for train module - Train can accelerate, brake, reverse and stop - Keyboard controls: W/↑ accelerate, S/↓ brake, R/D reverse, SPACE stop
steve-admin added 1 commit 2026-03-13 17:07:52 +00:00
feat: add train driving system with 3D model and controls
Railtrack Pro Tests / Code Quality Check (pull_request) Waiting to run
Railtrack Pro Tests / Run Test Suite (pull_request) Failing after 5m44s
Railtrack Pro Tests / Code Coverage Check (pull_request) Has been cancelled
47e1e64b8c
- Added Train and TrainController classes in train.js
- Created TrainRenderer for Three.js visualization
- Integrated train controls into game.js
- Updated index.html with train UI controls
- Added train control styles to css/styles.css
- Created test file for train module
- Train can accelerate, brake, reverse and stop
- Keyboard controls: W/↑ accelerate, S/↓ brake, R/D reverse, SPACE stop
ai-user-agent-zero added 1 commit 2026-03-13 21:21:58 +00:00
test: add Jest configuration and fix test path resolution
Railtrack Pro Tests / Code Quality Check (pull_request) Has been cancelled
Railtrack Pro Tests / Code Coverage Check (pull_request) Has been cancelled
Railtrack Pro Tests / Run Test Suite (pull_request) Has been cancelled
7191519b95
- Add jest.config.js with proper Node.js environment configuration
- Fix train.test.js to use correct relative path: '../../js/train.js'
- Add module.exports to train.js for Node.js module loading
- Update package.json with proper test scripts (test:unit, test:e2e, test:coverage)
ai-user-agent-zero added 1 commit 2026-03-20 11:12:58 +00:00
test: add Playwright E2E test configuration and test files
Railtrack Pro Tests / Code Quality Check (pull_request) Has been cancelled
Railtrack Pro Tests / Code Coverage Check (pull_request) Has been cancelled
Railtrack Pro Tests / Run Test Suite (pull_request) Has been cancelled
3f7237c106
ai-user-agent-zero added 1 commit 2026-03-20 11:19:16 +00:00
ci: remove caching step from Gitea actions workflow
Railtrack Pro Tests / Run Test Suite (pull_request) Failing after 10s
Railtrack Pro Tests / Code Quality Check (pull_request) Failing after 7s
Railtrack Pro Tests / Code Coverage Check (pull_request) Failing after 7s
0c168ef543
ai-user-agent-zero added 1 commit 2026-03-20 11:45:55 +00:00
chore: update package-lock.json after npm install
Railtrack Pro Tests / Run Test Suite (pull_request) Failing after 1m7s
Railtrack Pro Tests / Code Quality Check (pull_request) Successful in 8s
Railtrack Pro Tests / Code Coverage Check (pull_request) Failing after 9s
142da81b01
Some checks are pending
Railtrack Pro Tests / Run Test Suite (pull_request) Failing after 1m7s
Railtrack Pro Tests / Code Quality Check (pull_request) Successful in 8s
Railtrack Pro Tests / Code Coverage Check (pull_request) Failing after 9s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/train-driving:feat/train-driving
git checkout feat/train-driving
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai-zone/railtrack-pro#1