Play the game online: link
This is a 2D shooting game developed entirely from scratch using JavaScript as part of PBL Exercise I at Ehime University, Faculty of Engineering. The game features classic arcade-style gameplay with modern improvements and clean, maintainable code structure.
- Pure JavaScript Implementation: Built without external game frameworks
- Responsive Controls: Smooth player movement and shooting mechanics
- Enemy AI: Various enemy types with different movement patterns
- Item System: Power-ups and items dropped by defeated enemies
- Score System: Track your performance and compete for high scores
This project has been enhanced from the original PBL deliverable with the following improvements:
- Code Refactoring: Improved code organization and maintainability
- Item Drop System: Enemies now drop items when defeated
- File Structure Reorganization: Better project organization
- Performance Optimizations: Smoother gameplay experience
- HTML5: Game structure and canvas element
- CSS3: Styling and responsive design
- JavaScript: Core game logic and mechanics
- PHP: Server-side functionality (if applicable)
- A modern web browser with HTML5 Canvas support
- Local web server (for development)
- Clone the repository
git clone git@github.com:j341nono/2Dshooting.git
cd 2Dshooting- Open
game.htmlin your web browser or serve it through a local web server
- Movement: Use arrow keys or WASD to move your character
- Shooting: Press spacebar to shoot
- Objective: Defeat enemies and collect items to achieve the highest score possible
├── game.html # Main game file
├── css/ # Stylesheets
├── js/ # JavaScript game logic
├── asset/ # Game asset (images, sounds)
└── README.md # This file
This project was developed with reference to the source code published by akichon. The original tutorial and source code can be found at: https://aki28.com/f/stg2/
Developed by Group G (G班) - PBL Exercise I, Faculty of Engineering, Ehime University
This project is created for educational purposes as part of university coursework.
